diff --git a/lib/utils/matrix_sdk_extensions/flutter_hive_collections_database.dart b/lib/utils/matrix_sdk_extensions/flutter_hive_collections_database.dart index 900fd269..b902231f 100644 --- a/lib/utils/matrix_sdk_extensions/flutter_hive_collections_database.dart +++ b/lib/utils/matrix_sdk_extensions/flutter_hive_collections_database.dart @@ -113,7 +113,7 @@ class FlutterHiveCollectionsDatabase extends HiveCollectionsDatabase { Future _getFileStoreDirectory() async { try { try { - return (await getApplicationSupportDirectory()).path; + return (await getTemporaryDirectory()).path; } catch (_) { return (await getApplicationDocumentsDirectory()).path; }