From 7fa0aebcbd10acea90e7054eb38b3094247a5008 Mon Sep 17 00:00:00 2001 From: Takahiro Torii Date: Mon, 20 May 2024 09:30:44 +0900 Subject: [PATCH] fix lint --- flutter_secure_storage/lib/options/android_options.dart | 2 +- flutter_secure_storage/lib/options/apple_options.dart | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/flutter_secure_storage/lib/options/android_options.dart b/flutter_secure_storage/lib/options/android_options.dart index 45a54b22..8fc2a277 100644 --- a/flutter_secure_storage/lib/options/android_options.dart +++ b/flutter_secure_storage/lib/options/android_options.dart @@ -91,7 +91,7 @@ class AndroidOptions extends Options { 'storageCipherAlgorithm': describeEnum(_storageCipherAlgorithm), 'sharedPreferencesName': sharedPreferencesName ?? '', 'preferencesKeyPrefix': preferencesKeyPrefix ?? '', - 'masterKeyAlias': _masterKeyAlias ?? '', + 'masterKeyAlias': _masterKeyAlias, 'useBiometric': '$_useBiometric', 'authenticationValidityDurationSeconds': '$_authenticationValidityDurationSeconds', diff --git a/flutter_secure_storage/lib/options/apple_options.dart b/flutter_secure_storage/lib/options/apple_options.dart index 206bf0ec..4b8e55f1 100644 --- a/flutter_secure_storage/lib/options/apple_options.dart +++ b/flutter_secure_storage/lib/options/apple_options.dart @@ -53,6 +53,6 @@ abstract class AppleOptions extends Options { if (_groupId != null) 'groupId': _groupId!, 'synchronizable': '$_synchronizable', if (_accessControlCreateFlags != null) - 'accessControlCreateFlags': describeEnum(_accessControlCreateFlags!), + 'accessControlCreateFlags': _accessControlCreateFlags!.name, }; }