feat(mobile): show local gallery in guest mode before login

This commit is contained in:
alextran1502
2026-05-07 15:21:20 +00:00
parent 45ccdb37fb
commit 13446022d9
7 changed files with 94 additions and 2 deletions
@@ -355,9 +355,9 @@ class SplashScreenPageState extends ConsumerState<SplashScreenPage> {
),
);
} else {
log.severe('Missing crucial offline login info - Logging out completely');
log.info('No stored credentials - showing local gallery in guest mode');
unawaited(ref.read(authProvider.notifier).logout());
unawaited(context.replaceRoute(const LoginRoute()));
unawaited(context.replaceRoute(const GuestGalleryRoute()));
return;
}