mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-12-23 11:59:30 +00:00
persist isFailover settings changes across app closes
This commit is contained in:
parent
a8d5301381
commit
7da4bc75f3
1 changed files with 2 additions and 0 deletions
|
@ -39,6 +39,7 @@ class NodeService extends ChangeNotifier {
|
|||
key: savedNode.id,
|
||||
value: defaultNode.copyWith(
|
||||
enabled: savedNode.enabled,
|
||||
isFailover: savedNode.isFailover,
|
||||
trusted: savedNode.trusted,
|
||||
));
|
||||
}
|
||||
|
@ -52,6 +53,7 @@ class NodeService extends ChangeNotifier {
|
|||
coin: coin,
|
||||
node: defaultNode.copyWith(
|
||||
enabled: primaryNode.enabled,
|
||||
isFailover: primaryNode.isFailover,
|
||||
trusted: primaryNode.trusted,
|
||||
),
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue