бля это сэкс

This commit is contained in:
Jganenokk
2026-04-03 20:54:12 +07:00
parent 91d2afbb57
commit bb9a4732b7
5 changed files with 182 additions and 24 deletions
+11 -8
View File
@@ -91,16 +91,19 @@ class _StartupScreenState extends State<_StartupScreen> {
return;
}
if (mounted) {
Navigator.pushReplacement(
context,
MaterialPageRoute(builder: (_) => const ChatListScreen()),
);
}
try {
await accountModule.login(accountId: accountId);
if (mounted) {
Navigator.pushReplacement(
context,
MaterialPageRoute(builder: (_) => const ChatListScreen()),
);
}
} catch (_) {
_goToLogin();
} catch (e) {
debugPrint(
'Background auto-login failed (safe to ignore if offline): $e',
);
}
}