diff --git a/lib/view_model/settings/tor_view_model.dart b/lib/view_model/settings/tor_view_model.dart index 77f18ba92..32a66f23c 100644 --- a/lib/view_model/settings/tor_view_model.dart +++ b/lib/view_model/settings/tor_view_model.dart @@ -84,6 +84,6 @@ abstract class TorViewModelBase with Store { Tor.instance.disable(); _settingsStore.shouldStartTorOnLaunch = false; torConnectionStatus = TorConnectionStatus.disconnected; - SocksTCPClient.setProxy(proxies: null); + SocksTCPClient.removeProxy(); } } diff --git a/pubspec_base.yaml b/pubspec_base.yaml index 839adc446..a23e2cf6e 100644 --- a/pubspec_base.yaml +++ b/pubspec_base.yaml @@ -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