chore: Fix web hive encryption

This commit is contained in:
Christian Pauly 2021-06-12 12:14:36 +02:00
parent 6f11f3ed1a
commit bd60c67535

View File

@ -50,8 +50,8 @@ class FlutterFamedlySdkHiveDatabase extends FamedlySdkHiveDatabase {
);
hiverCipher = HiveAesCipher(encryptionKey);
} on MissingPluginException catch (_) {
Logs()
.i('Hive encryption is not supported on ${Platform.operatingSystem}');
Logs().i(
'Hive encryption is not supported on ${kIsWeb ? 'Web' : Platform.operatingSystem}');
}
final db = FamedlySdkHiveDatabase(
client.clientName,