Save Haven current node

This commit is contained in:
OmarHatem28 2022-06-20 16:18:25 +02:00
parent 2d4d5e031b
commit 06f21e80ec

View file

@ -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;
} }