This commit is contained in:
Krille Fear 2021-11-18 08:32:04 +01:00
parent ad21986ae8
commit 522856dc9b

View file

@ -51,7 +51,7 @@ class FlutterFluffyBoxDatabase extends FluffyBoxDatabase {
final db = FluffyBoxDatabase(
'fluffybox_${client.clientName.replaceAll(' ', '_').toLowerCase()}',
openSqlDatabase: () => _openSqlDatabase(client, password),
openSqlDatabase: kIsWeb ? null : () => _openSqlDatabase(client, password),
);
await db.open();
Logs().d('FluffyBox is ready');