Implement account deletion

This commit is contained in:
PapaTutuWawa committed 2025-05-19 21:55:49 +02:00
1 parent cbe2d5a556
commit 71993c2686
3 files changed
+36 -3

No files matched your search

+1 -2
View File
@@ -193,8 +193,7 @@ class CoreCubit extends Cubit<CoreState> {
cancelStreams();
try {
// TODO
//await db.deleteAccount(account);
await GetIt.I.get<OkaneDatabase>().accountsDao.removeAccount(account);
} finally {
emit(state.copyWith(isDeletingAccount: false));
}