feat: 1.修改singbox dns污染问题, 2.修改丢失文案

This commit is contained in:
speakeloudest 2026-01-26 03:02:47 -08:00
parent 8b67d1f6b1
commit 6a7033aca1
2 changed files with 4 additions and 4 deletions

View File

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

View File

@ -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 = {