From ebb4709598796affa2355c4771265fc3ab50b721 Mon Sep 17 00:00:00 2001 From: Julian KOUNE Date: Wed, 6 Sep 2023 15:30:35 +0200 Subject: [PATCH] fixup! fixup! fix: clean tom db on logout --- lib/data/hive/hive_collection_tom_database.dart | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/data/hive/hive_collection_tom_database.dart b/lib/data/hive/hive_collection_tom_database.dart index fd304a4cd4..3fc41f2667 100644 --- a/lib/data/hive/hive_collection_tom_database.dart +++ b/lib/data/hive/hive_collection_tom_database.dart @@ -123,7 +123,6 @@ class HiveCollectionToMDatabase { Logs().w('Delete database and storage key...'); await const FlutterSecureStorage() .delete(key: FlutterHiveCollectionsDatabase.cipherStorageKey); - await tomConfigurationsBox.clear(); await _collection.deleteFromDisk(); await Hive.deleteFromDisk(); }