tor ip leak protection

This commit is contained in:
Fabian Freund committed 2025-09-26 15:36:36 +02:00
1 parent 7da05d0780
commit 9ec56ac62a
3 files changed
+75 -65

No files matched your search

@@ -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(