fix: Fix database not loading on Android

This commit is contained in:
PapaTutuWawa committed 2026-03-08 15:24:39 +01:00
1 parent a41874692f
commit 4b4c914685
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -59,8 +59,8 @@ class DatabaseService {
// Allow initializing the database on Windows and Linux as well.
if (Platform.isLinux || Platform.isWindows) {
sqfliteFfiInit();
databaseFactory = databaseFactoryFfi;
}
databaseFactory = databaseFactoryFfi;
_db = await openDatabase(
'anitrack.db',