diff --git a/app/lib/common/utilities/hive_utils.dart b/app/lib/common/utilities/hive_utils.dart index 465e5b89..0d267db5 100644 --- a/app/lib/common/utilities/hive_utils.dart +++ b/app/lib/common/utilities/hive_utils.dart @@ -10,8 +10,8 @@ import '../module.dart'; Future> retrieveExistingOrGenerateKey() async { const secureStorage = FlutterSecureStorage(); // if key not exists return null - final encryprionKey = await secureStorage.read(key: 'key'); - if (encryprionKey == null) { + final encryptionKey = await secureStorage.read(key: 'key'); + if (encryptionKey == null) { final key = Hive.generateSecureKey(); await secureStorage.write( key: 'key',