mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2025-01-11 18:22:49 +01:00
chore: Fix web hive encryption
This commit is contained in:
parent
6f11f3ed1a
commit
bd60c67535
@ -50,8 +50,8 @@ class FlutterFamedlySdkHiveDatabase extends FamedlySdkHiveDatabase {
|
|||||||
);
|
);
|
||||||
hiverCipher = HiveAesCipher(encryptionKey);
|
hiverCipher = HiveAesCipher(encryptionKey);
|
||||||
} on MissingPluginException catch (_) {
|
} on MissingPluginException catch (_) {
|
||||||
Logs()
|
Logs().i(
|
||||||
.i('Hive encryption is not supported on ${Platform.operatingSystem}');
|
'Hive encryption is not supported on ${kIsWeb ? 'Web' : Platform.operatingSystem}');
|
||||||
}
|
}
|
||||||
final db = FamedlySdkHiveDatabase(
|
final db = FamedlySdkHiveDatabase(
|
||||||
client.clientName,
|
client.clientName,
|
||||||
|
Loading…
Reference in New Issue
Block a user