mirror of
https://github.com/kodjodevf/mangayomi.git
synced 2026-04-21 16:01:58 +00:00
added router fallback
This commit is contained in:
parent
f7e4cfaabc
commit
bd068641f1
1 changed files with 2 additions and 1 deletions
|
|
@ -59,7 +59,8 @@ GoRouter router(Ref ref) {
|
||||||
debugLogDiagnostics: kDebugMode,
|
debugLogDiagnostics: kDebugMode,
|
||||||
refreshListenable: router,
|
refreshListenable: router,
|
||||||
routes: router._routes,
|
routes: router._routes,
|
||||||
navigatorKey: navigatorKey);
|
navigatorKey: navigatorKey,
|
||||||
|
onException: (context, state, router) => router.go(initLocation),);
|
||||||
}
|
}
|
||||||
|
|
||||||
@riverpod
|
@riverpod
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue