mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-29 22:16:05 +00:00
CAKE-208 | merged 4.1.0 branch into current and resolved problems
This commit is contained in:
parent
6f386a1efe
commit
b1e0bf0edd
2 changed files with 7 additions and 7 deletions
|
@ -85,14 +85,14 @@ abstract class SettingsStoreBase with Store {
|
|||
(String languageCode) => sharedPreferences.setString(
|
||||
PreferencesKey.currentLanguageCode, languageCode));
|
||||
|
||||
reaction((_) => balanceDisplayMode,
|
||||
(BalanceDisplayMode mode) => sharedPreferences.setInt(
|
||||
PreferencesKey.currentBalanceDisplayModeKey,
|
||||
mode.serialize()));
|
||||
|
||||
this
|
||||
.nodes
|
||||
.observe((change) => _saveCurrentNode(change.newValue, change.key));
|
||||
|
||||
reaction((_) => balanceDisplayMode,
|
||||
(BalanceDisplayMode mode) => sharedPreferences.setInt(
|
||||
PreferencesKey.currentBalanceDisplayModeKey,
|
||||
mode.serialize()));
|
||||
}
|
||||
|
||||
static const defaultPinLength = 4;
|
||||
|
|
|
@ -20,8 +20,8 @@ abstract class BalanceViewModelBase with Store {
|
|||
BalanceViewModelBase(
|
||||
{@required this.appStore,
|
||||
@required this.settingsStore,
|
||||
@required this.fiatConvertationStore}){
|
||||
|
||||
@required this.fiatConvertationStore
|
||||
}){
|
||||
isReversing = false;
|
||||
|
||||
wallet ??= appStore.wallet;
|
||||
|
|
Loading…
Reference in a new issue