chore: Fix web hive encryption

This commit is contained in:
Christian Pauly 2021-06-12 12:14:36 +02:00
parent 6f11f3ed1a
commit bd60c67535
1 changed files with 2 additions and 2 deletions

View File

@ -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,