mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-11-17 09:47:35 +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(
|
await _sharedPreferences.setInt(
|
||||||
PreferencesKey.currentNodeIdKey, node.key as int);
|
PreferencesKey.currentNodeIdKey, node.key as int);
|
||||||
break;
|
break;
|
||||||
|
case WalletType.haven:
|
||||||
|
await _sharedPreferences.setInt(
|
||||||
|
PreferencesKey.currentHavenNodeIdKey, node.key as int);
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue