This commit is contained in:
Matthew Fosse 2024-03-06 11:42:10 -08:00
parent 2c64070fe8
commit f291a7f8c1

View file

@ -79,8 +79,8 @@ abstract class TorViewModelBase with Store {
Future<void> disconnectFromNode() async { Future<void> disconnectFromNode() async {
final appStore = getIt.get<AppStore>(); final appStore = getIt.get<AppStore>();
appStore.wallet!.syncStatus = NotConnectedSyncStatus(); appStore.wallet?.syncStatus = NotConnectedSyncStatus();
await appStore.wallet!.connectToNode(node: Node(uri: "http://127.0.0.1")); await appStore.wallet?.connectToNode(node: Node(uri: "http://127.0.0.1"));
} }
@action @action