mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-11-17 09:47:35 +00:00
Merge pull request #388 from cake-tech/CW-97-fix-haven-wallet-default-node
Save Haven current node
This commit is contained in:
commit
cc96e29eaf
1 changed files with 4 additions and 0 deletions
|
@ -314,6 +314,10 @@ abstract class SettingsStoreBase with Store {
|
|||
await _sharedPreferences.setInt(
|
||||
PreferencesKey.currentNodeIdKey, node.key as int);
|
||||
break;
|
||||
case WalletType.haven:
|
||||
await _sharedPreferences.setInt(
|
||||
PreferencesKey.currentHavenNodeIdKey, node.key as int);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue