diff --git a/packages/neon/neon/lib/src/blocs/accounts.dart b/packages/neon/neon/lib/src/blocs/accounts.dart index fc12a79d..63fcf732 100644 --- a/packages/neon/neon/lib/src/blocs/accounts.dart +++ b/packages/neon/neon/lib/src/blocs/accounts.dart @@ -97,6 +97,15 @@ class AccountsBloc extends Bloc implements AccountsBlocEvents, AccountsBlocState if (aa != null && aa.id == account.id) { setActiveAccount(as.isNotEmpty ? as[0] : null); } + + unawaited(() async { + try { + await account.client.core.deleteAppPassword(); + } catch (e, s) { + debugPrint(e.toString()); + debugPrint(s.toString()); + } + }()); } @override