diff --git a/lib/core/secure_storage.dart b/lib/core/secure_storage.dart index 662c815e5..5afb36d29 100644 --- a/lib/core/secure_storage.dart +++ b/lib/core/secure_storage.dart @@ -30,6 +30,7 @@ Future readSecureStorage(FlutterSecureStorage secureStorage, String key Future writeSecureStorage(FlutterSecureStorage secureStorage, {required String key, required String value}) async { // delete the value before writing on macOS because of a weird bug + // https://github.com/mogol/flutter_secure_storage/issues/581 if (Platform.isMacOS) { await secureStorage.delete(key: key); }