tor ip leak protection
This commit is contained in:
1 parent
7da05d0780
commit
9ec56ac62a
3 files changed
+75
-65
No files matched your search
+3
-5
@@ -38,11 +38,9 @@ class ProxySettingsReplication extends _$ProxySettingsReplication {
|
||||
fireImmediately: true,
|
||||
torProxyServiceProvider.select((data) => data.value),
|
||||
(previous, next) async {
|
||||
if (next != null) {
|
||||
await ref
|
||||
.read(torProxyRepositoryProvider.notifier)
|
||||
.setProxyPort(next);
|
||||
}
|
||||
await ref
|
||||
.read(torProxyRepositoryProvider.notifier)
|
||||
.setProxyPort(next ?? -1);
|
||||
},
|
||||
onError: (error, stackTrace) {
|
||||
logger.e(
|
||||
|
||||
Reference in new issue
Block a user