mirror of
https://github.com/kuhyx/utils.git
synced 2026-11-10 21:07:15 +01:00
connectWithPassword() had no try/catch around firebaseFactory(), unlike
connectWithGoogle() right next to it. A thrown FirebaseAuthError (wrong
password, 400 from identitytoolkit) escaped uncaught out of the button's
async onPressed, so _busy/_status never updated and the screen sat on
"Signing in..." forever with no error shown -- reproduced live via the
browser console (confirmed "Uncaught Error" immediately after the 400,
not a hung Future).
Also reports real progress stages ("Saving account...", "Signing in to
Firebase...") instead of one static string, clears the bad password on a
confirmed rejection (previously only the null-client branch did, letting a
background sync tick keep retrying it), and surfaces the actual failure
reason in the status text instead of a generic "rejected" message.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XATAXuMzpYggWyTBPGyiSN
|
||
|---|---|---|
| .. | ||
| backup_slot_test.dart | ||
| firebase_sync_controller_test.dart | ||
| sync_settings_screen_backup_test.dart | ||
| sync_settings_screen_google_test.dart | ||
| sync_settings_screen_test.dart | ||