feat: 1.修改singbox dns污染问题, 2.修改丢失文案
This commit is contained in:
parent
8b67d1f6b1
commit
6a7033aca1
@ -54,7 +54,7 @@ class HIAntiLostController extends GetxController {
|
||||
if (e.type == GalExceptionType.accessDenied) {
|
||||
HIDialog.show(
|
||||
title: "提示",
|
||||
message: "请到-设置-应用-Hi快vpn-相册权限-允许保存相片打开保存图片权限",
|
||||
message: "请到:设置-应用-Hi快vpn-相册权限-允许保存相片打开保存图片权限",
|
||||
confirmText: "去设置",
|
||||
cancelText: "取消",
|
||||
onConfirm: () => openAppSettings(),
|
||||
|
||||
@ -611,9 +611,9 @@ class KRSingBoxImp {
|
||||
final remoteDnsAddress = useWindowsDnsDefaults
|
||||
? 'udp://1.1.1.1'
|
||||
: 'https://dns.google/dns-query';
|
||||
final directDnsAddress = useWindowsDnsDefaults
|
||||
? (effectiveRegion == 'cn' ? 'udp://223.5.5.5' : 'udp://1.1.1.1')
|
||||
: 'local';
|
||||
final directDnsAddress = effectiveRegion == 'cn'
|
||||
? 'udp://223.5.5.5' // 中国: 阿里DNS(国内域名解析快)
|
||||
: 'udp://1.1.1.1'; // 其他: Cloudflare UDP(避免 local 被污染)
|
||||
final dnsDomainStrategy = useWindowsDnsDefaults ? '' : 'prefer_ipv4';
|
||||
|
||||
final op = {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user