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); }