mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-03 17:40:43 +00:00
just documenting the issue [skip ci]
This commit is contained in:
parent
56232a1520
commit
aac44e43aa
1 changed files with 1 additions and 0 deletions
|
@ -30,6 +30,7 @@ Future<String?> readSecureStorage(FlutterSecureStorage secureStorage, String key
|
||||||
Future<void> writeSecureStorage(FlutterSecureStorage secureStorage,
|
Future<void> writeSecureStorage(FlutterSecureStorage secureStorage,
|
||||||
{required String key, required String value}) async {
|
{required String key, required String value}) async {
|
||||||
// delete the value before writing on macOS because of a weird bug
|
// delete the value before writing on macOS because of a weird bug
|
||||||
|
// https://github.com/mogol/flutter_secure_storage/issues/581
|
||||||
if (Platform.isMacOS) {
|
if (Platform.isMacOS) {
|
||||||
await secureStorage.delete(key: key);
|
await secureStorage.delete(key: key);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue