mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-23 03:59:23 +00:00
Remove disableExchangeKey from sharedpreference
This commit is contained in:
parent
b0175719b9
commit
9f952cda40
1 changed files with 2 additions and 0 deletions
|
@ -514,4 +514,6 @@ Future<void> migrateExchangeStatus(SharedPreferences sharedPreferences) async {
|
||||||
|
|
||||||
await sharedPreferences.setInt(PreferencesKey.exchangeStatusKey, isExchangeDisabled
|
await sharedPreferences.setInt(PreferencesKey.exchangeStatusKey, isExchangeDisabled
|
||||||
? ExchangeApiMode.disabled.raw : ExchangeApiMode.enabled.raw);
|
? ExchangeApiMode.disabled.raw : ExchangeApiMode.enabled.raw);
|
||||||
|
|
||||||
|
await sharedPreferences.remove(PreferencesKey.disableExchangeKey);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue