diff --git a/lib/data/settings_storage/db_settings.dart b/lib/data/settings_storage/db_settings.dart index ce42d3b..61c52e3 100644 --- a/lib/data/settings_storage/db_settings.dart +++ b/lib/data/settings_storage/db_settings.dart @@ -50,7 +50,7 @@ class AppDatabase extends _$AppDatabase { LazyDatabase _openConnection() { return LazyDatabase(() async { - final dbFolder = await getApplicationDocumentsDirectory(); + final dbFolder = await getApplicationSupportDirectory(); final file = File(p.join(dbFolder.path, 'db.sqlite')); return NativeDatabase.createInBackground(file); });