mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-23 03:59:23 +00:00
Save Haven current node
This commit is contained in:
parent
2d4d5e031b
commit
06f21e80ec
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