mirror of
https://github.com/twonlyapp/twonly-app.git
synced 2026-03-03 10:36:47 +00:00
fix: allow multiple instances to open the database
This commit is contained in:
parent
17c22c2f80
commit
2b1952a7ad
1 changed files with 1 additions and 0 deletions
|
|
@ -75,6 +75,7 @@ class TwonlyDB extends _$TwonlyDB {
|
|||
name: 'twonly',
|
||||
native: const DriftNativeOptions(
|
||||
databaseDirectory: getApplicationSupportDirectory,
|
||||
shareAcrossIsolates: true,
|
||||
),
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue