persist isFailover settings changes across app closes

This commit is contained in:
sneurlax 2023-01-06 17:10:17 -06:00
parent a8d5301381
commit 7da4bc75f3

View file

@ -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,
),
);