mirror of
https://github.com/kodjodevf/mangayomi.git
synced 2026-03-11 17:25:32 +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,
|
||||
refreshListenable: router,
|
||||
routes: router._routes,
|
||||
navigatorKey: navigatorKey);
|
||||
navigatorKey: navigatorKey,
|
||||
onException: (context, state, router) => router.go(initLocation),);
|
||||
}
|
||||
|
||||
@riverpod
|
||||
|
|
|
|||
Loading…
Reference in a new issue