Skip to content

Commit c173451

Browse files
committed
use builtin bridges
1 parent f70ae80 commit c173451

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/lib/features/tor/domain/services/tor_proxy.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,8 @@ class TorProxyService extends _$TorProxyService {
169169
config = await moat.getDefaultBridges();
170170
}
171171

172-
if (config == null && torSettings.requireBridge) {
172+
if (config == null &&
173+
(torSettings.requireBridge || !torSettings.fetchRemoteBridges)) {
173174
config = MoatService.convertBuiltinToSettings(
174175
// ignore: only_use_keep_alive_inside_keep_alive
175176
await ref

0 commit comments

Comments
 (0)