From e86d1a59af41820c65fcdaff4d319fb5bd583d31 Mon Sep 17 00:00:00 2001 From: bvandeusen Date: Thu, 12 Mar 2026 00:32:38 -0400 Subject: [PATCH] fix: redirect to /briefing after auth (was /notes which no longer exists) --- lib/screens/auth/login_screen.dart | 4 ++-- lib/screens/splash/splash_screen.dart | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/screens/auth/login_screen.dart b/lib/screens/auth/login_screen.dart index e5f24cc..b8101d1 100644 --- a/lib/screens/auth/login_screen.dart +++ b/lib/screens/auth/login_screen.dart @@ -72,7 +72,7 @@ class _LoginScreenState extends ConsumerState { _usernameController.text.trim(), _passwordController.text, ); - if (mounted) context.go(Routes.notes); + if (mounted) context.go(Routes.briefing); } on AuthException catch (e) { setState(() => _error = e.message); } on AppException catch (e) { @@ -90,7 +90,7 @@ class _LoginScreenState extends ConsumerState { cookieJar: ref.read(cookieJarProvider), onSuccess: () async { await ref.read(authProvider.notifier).verify(); - if (mounted) context.go(Routes.notes); + if (mounted) context.go(Routes.briefing); }, ), )); diff --git a/lib/screens/splash/splash_screen.dart b/lib/screens/splash/splash_screen.dart index c911608..9de7075 100644 --- a/lib/screens/splash/splash_screen.dart +++ b/lib/screens/splash/splash_screen.dart @@ -30,7 +30,7 @@ class _SplashScreenState extends ConsumerState { if (!mounted) return; final status = ref.read(authProvider); if (status == AuthStatus.authenticated) { - context.go(Routes.notes); + context.go(Routes.briefing); } else { context.go(Routes.login); }