Merge pull request #388 from cake-tech/CW-97-fix-haven-wallet-default-node

Save Haven current node
This commit is contained in:
mkyq 2022-06-20 17:11:56 +01:00 committed by GitHub
commit cc96e29eaf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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