mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2025-02-16 05:30:48 +01:00
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…
x
Reference in New Issue
Block a user