mirror of
https://github.com/gabehf/Fladder.git
synced 2026-03-07 21:48:14 -08:00
feat: Add show details button to sync items
This commit is contained in:
parent
fefd2d9ad9
commit
0f4f829718
3 changed files with 23 additions and 3 deletions
|
|
@ -125,6 +125,10 @@ class AuthGuard extends AutoRouteGuard {
|
|||
|
||||
@override
|
||||
Future<void> onNavigation(NavigationResolver resolver, StackRouter router) async {
|
||||
if (resolver.route == router.current.route) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (ref.read(userProvider) != null ||
|
||||
resolver.routeName == const LoginRoute().routeName ||
|
||||
resolver.routeName == SplashRoute().routeName) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue