fix: Fix database not loading on Android
This commit is contained in:
1 parent
a41874692f
commit
4b4c914685
3 files changed
+3
-3
No files matched your search
@@ -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',
|
||||
|
||||
Reference in new issue
Block a user