mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-03 17:40:43 +00:00
fix
This commit is contained in:
parent
2c64070fe8
commit
f291a7f8c1
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue