Skip to content

Commit

Permalink
Last username saved on biometric authentication
Browse files Browse the repository at this point in the history
  • Loading branch information
GleammerRay committed Mar 22, 2024
1 parent 33af8c1 commit 54e8d89
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/screens/login_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@ class _LoginScreen extends State<LoginScreen> {
_username, encrypter, key,
encryptedPassword:
encrypt(storageData.password, encrypter: encrypter));
data.info.value.lastUsername = _username;
Navigator.pushNamed(context, SplashScreen.routeName);
await data.info.save();
Navigator.pop(context);
if (isAutofill) {
Navigator.pushNamed(
context,
Expand Down

0 comments on commit 54e8d89

Please sign in to comment.