chore: Fix web hive encryption

This commit is contained in:
Christian Pauly 2021-06-12 12:14:36 +02:00
parent 0c7fa98ec7
commit 8db0fb7e19

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,