properly remove proxy

This commit is contained in:
fosse 2024-01-16 11:23:34 -05:00
parent b5c2d547a7
commit 612abf0458
2 changed files with 2 additions and 2 deletions

View file

@ -84,6 +84,6 @@ abstract class TorViewModelBase with Store {
Tor.instance.disable();
_settingsStore.shouldStartTorOnLaunch = false;
torConnectionStatus = TorConnectionStatus.disconnected;
SocksTCPClient.setProxy(proxies: null);
SocksTCPClient.removeProxy();
}
}

View file

@ -105,7 +105,7 @@ dependencies:
socks5_proxy:
git:
url: https://github.com/perishllc/socks_dart.git
ref: main
ref: d304fcfcc97cb7212bcd347aeb5d96792c128ff3
flutter_svg: ^2.0.9
polyseed: ^0.0.2