fix: Web
This commit is contained in:
parent
28cfb6e5f9
commit
0138238109
|
@ -51,7 +51,7 @@ class FlutterFluffyBoxDatabase extends FluffyBoxDatabase {
|
||||||
|
|
||||||
final db = FluffyBoxDatabase(
|
final db = FluffyBoxDatabase(
|
||||||
'fluffybox_${client.clientName.replaceAll(' ', '_').toLowerCase()}',
|
'fluffybox_${client.clientName.replaceAll(' ', '_').toLowerCase()}',
|
||||||
openSqlDatabase: () => _openSqlDatabase(client, password),
|
openSqlDatabase: kIsWeb ? null : () => _openSqlDatabase(client, password),
|
||||||
);
|
);
|
||||||
await db.open();
|
await db.open();
|
||||||
Logs().d('FluffyBox is ready');
|
Logs().d('FluffyBox is ready');
|
||||||
|
|
Loading…
Reference in New Issue