Merge pull request #21 from cake-tech/CWA-161-save-recipient-address-by-default

Cwa 161 save recipient address by default
This commit is contained in:
M 2020-01-24 20:45:42 +01:00
commit 648f67f5b0

View file

@ -33,7 +33,7 @@ Future defaultSettingsMigration(
'current_fee_priority', TransactionPriority.standart.raw); 'current_fee_priority', TransactionPriority.standart.raw);
await sharedPreferences.setInt('current_balance_display_mode', await sharedPreferences.setInt('current_balance_display_mode',
BalanceDisplayMode.availableBalance.raw); BalanceDisplayMode.availableBalance.raw);
await sharedPreferences.setBool('save_recipient_address', false); await sharedPreferences.setBool('save_recipient_address', true);
await resetToDefault(nodes); await resetToDefault(nodes);
await changeCurrentNodeToDefault( await changeCurrentNodeToDefault(
sharedPreferences: sharedPreferences, nodes: nodes); sharedPreferences: sharedPreferences, nodes: nodes);