Save Haven current node

This commit is contained in:
OmarHatem28
2022-06-20 16:21:40 +02:00
parent 2d4d5e031b
commit 06f21e80ec
+4
View File
@@ -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;
}