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) {
|
if (e.type == GalExceptionType.accessDenied) {
|
||||||
HIDialog.show(
|
HIDialog.show(
|
||||||
title: "提示",
|
title: "提示",
|
||||||
message: "请到-设置-应用-Hi快vpn-相册权限-允许保存相片打开保存图片权限",
|
message: "请到:设置-应用-Hi快vpn-相册权限-允许保存相片打开保存图片权限",
|
||||||
confirmText: "去设置",
|
confirmText: "去设置",
|
||||||
cancelText: "取消",
|
cancelText: "取消",
|
||||||
onConfirm: () => openAppSettings(),
|
onConfirm: () => openAppSettings(),
|
||||||
|
|||||||
@ -611,9 +611,9 @@ class KRSingBoxImp {
|
|||||||
final remoteDnsAddress = useWindowsDnsDefaults
|
final remoteDnsAddress = useWindowsDnsDefaults
|
||||||
? 'udp://1.1.1.1'
|
? 'udp://1.1.1.1'
|
||||||
: 'https://dns.google/dns-query';
|
: 'https://dns.google/dns-query';
|
||||||
final directDnsAddress = useWindowsDnsDefaults
|
final directDnsAddress = effectiveRegion == 'cn'
|
||||||
? (effectiveRegion == 'cn' ? 'udp://223.5.5.5' : 'udp://1.1.1.1')
|
? 'udp://223.5.5.5' // 中国: 阿里DNS(国内域名解析快)
|
||||||
: 'local';
|
: 'udp://1.1.1.1'; // 其他: Cloudflare UDP(避免 local 被污染)
|
||||||
final dnsDomainStrategy = useWindowsDnsDefaults ? '' : 'prefer_ipv4';
|
final dnsDomainStrategy = useWindowsDnsDefaults ? '' : 'prefer_ipv4';
|
||||||
|
|
||||||
final op = {
|
final op = {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user