Skip to content

Commit

Permalink
chore(app): fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
tamara-slosarek authored and tamslo committed Jan 17, 2025
1 parent 0da040c commit 72ce9d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/lib/common/utilities/hive_utils.dart
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import '../module.dart';
Future<List<int>> 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',
Expand Down

0 comments on commit 72ce9d1

Please sign in to comment.