Skip to content

Commit

Permalink
switch to getAppSupport..
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-kal committed Aug 24, 2024
1 parent c867724 commit 65c60ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/data/settings_storage/db_settings.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
Expand Down

0 comments on commit 65c60ae

Please sign in to comment.