From 7da4bc75f34c4d42e70486a4081fd9fcf38f9374 Mon Sep 17 00:00:00 2001 From: sneurlax Date: Fri, 6 Jan 2023 17:10:17 -0600 Subject: [PATCH] persist isFailover settings changes across app closes --- lib/services/node_service.dart | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/services/node_service.dart b/lib/services/node_service.dart index 2f3b8b836..8a0e17ad7 100644 --- a/lib/services/node_service.dart +++ b/lib/services/node_service.dart @@ -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, ), );