mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-11 05:14:46 +00:00
small fix
This commit is contained in:
parent
92b28ceacb
commit
d383f3e1a6
1 changed files with 2 additions and 2 deletions
|
@ -50,7 +50,7 @@ abstract class TorViewModelBase with Store {
|
||||||
if (appStore.wallet != null) {
|
if (appStore.wallet != null) {
|
||||||
final node = _settingsStore.getCurrentNode(appStore.wallet!.type);
|
final node = _settingsStore.getCurrentNode(appStore.wallet!.type);
|
||||||
if (connect && (node.socksProxyAddress?.isEmpty ?? true)) {
|
if (connect && (node.socksProxyAddress?.isEmpty ?? true)) {
|
||||||
node.socksProxyAddress = "${InternetAddress.loopbackIPv4.address}:${Tor.instance.port}";
|
node.socksProxyAddress = "${InternetAddress.loopbackIPv4.address}:${torInstance.port}";
|
||||||
} else if (!connect) {
|
} else if (!connect) {
|
||||||
node.socksProxyAddress = null;
|
node.socksProxyAddress = null;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue