mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-06-28 20:39:51 +00:00
dont export/import pinlength (#2100)
This commit is contained in:
parent
2c68c57d10
commit
52a39e29d4
1 changed files with 0 additions and 5 deletions
|
@ -275,7 +275,6 @@ class BackupService {
|
||||||
final currentLanguageCode = data[PreferencesKey.currentLanguageCode] as String?;
|
final currentLanguageCode = data[PreferencesKey.currentLanguageCode] as String?;
|
||||||
final displayActionListMode = data[PreferencesKey.displayActionListModeKey] as int?;
|
final displayActionListMode = data[PreferencesKey.displayActionListModeKey] as int?;
|
||||||
final fiatApiMode = data[PreferencesKey.currentFiatApiModeKey] as int?;
|
final fiatApiMode = data[PreferencesKey.currentFiatApiModeKey] as int?;
|
||||||
final currentPinLength = data[PreferencesKey.currentPinLength] as int?;
|
|
||||||
final currentTheme = data[PreferencesKey.currentTheme] as int?;
|
final currentTheme = data[PreferencesKey.currentTheme] as int?;
|
||||||
final exchangeStatus = data[PreferencesKey.exchangeStatusKey] as int?;
|
final exchangeStatus = data[PreferencesKey.exchangeStatusKey] as int?;
|
||||||
final currentDefaultSettingsMigrationVersion =
|
final currentDefaultSettingsMigrationVersion =
|
||||||
|
@ -345,9 +344,6 @@ class BackupService {
|
||||||
await _sharedPreferences.setInt(
|
await _sharedPreferences.setInt(
|
||||||
PreferencesKey.autoGenerateSubaddressStatusKey, autoGenerateSubaddressStatus);
|
PreferencesKey.autoGenerateSubaddressStatusKey, autoGenerateSubaddressStatus);
|
||||||
|
|
||||||
if (currentPinLength != null)
|
|
||||||
await _sharedPreferences.setInt(PreferencesKey.currentPinLength, currentPinLength);
|
|
||||||
|
|
||||||
if (currentTheme != null && DeviceInfo.instance.isMobile) {
|
if (currentTheme != null && DeviceInfo.instance.isMobile) {
|
||||||
await _sharedPreferences.setInt(PreferencesKey.currentTheme, currentTheme);
|
await _sharedPreferences.setInt(PreferencesKey.currentTheme, currentTheme);
|
||||||
// enforce dark theme on desktop platforms until the design is ready:
|
// enforce dark theme on desktop platforms until the design is ready:
|
||||||
|
@ -506,7 +502,6 @@ class BackupService {
|
||||||
PreferencesKey.shouldSaveRecipientAddressKey:
|
PreferencesKey.shouldSaveRecipientAddressKey:
|
||||||
_sharedPreferences.getBool(PreferencesKey.shouldSaveRecipientAddressKey),
|
_sharedPreferences.getBool(PreferencesKey.shouldSaveRecipientAddressKey),
|
||||||
PreferencesKey.disableTradeOption: _sharedPreferences.getBool(PreferencesKey.disableTradeOption),
|
PreferencesKey.disableTradeOption: _sharedPreferences.getBool(PreferencesKey.disableTradeOption),
|
||||||
PreferencesKey.currentPinLength: _sharedPreferences.getInt(PreferencesKey.currentPinLength),
|
|
||||||
PreferencesKey.currentTransactionPriorityKeyLegacy:
|
PreferencesKey.currentTransactionPriorityKeyLegacy:
|
||||||
_sharedPreferences.getInt(PreferencesKey.currentTransactionPriorityKeyLegacy),
|
_sharedPreferences.getInt(PreferencesKey.currentTransactionPriorityKeyLegacy),
|
||||||
PreferencesKey.currentBitcoinElectrumSererIdKey:
|
PreferencesKey.currentBitcoinElectrumSererIdKey:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue