Updated on 2026-08-14
This commit is contained in:
parent
b8fc2d4f76
commit
283e760a4b
15 changed files with 68 additions and 6 deletions
|
|
@ -40,6 +40,12 @@ internal class ProxyAppRouter(
|
|||
}
|
||||
}
|
||||
|
||||
override fun replaceCurrent(route: AppRoute, onComplete: (Boolean) -> Unit) {
|
||||
safeNavigate(onComplete, message = "Replace a current route with $route") {
|
||||
innerRouter.replaceCurrent(route, onComplete)
|
||||
}
|
||||
}
|
||||
|
||||
override fun replaceAll(vararg routes: AppRoute, onComplete: (isSuccess: Boolean) -> Unit) {
|
||||
safeNavigate(onComplete, message = "Replace all routes with $routes") {
|
||||
runCatching {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue