send all dns server to core

This commit is contained in:
wwqgtxx
2025-03-17 23:00:06 +08:00
parent 4e45661e26
commit 19cc82e0db
3 changed files with 7 additions and 8 deletions

View File

@@ -49,7 +49,7 @@ object Clash {
}
fun notifyDnsChanged(dns: List<String>) {
Bridge.nativeNotifyDnsChanged(dns.joinToString(separator = ","))
Bridge.nativeNotifyDnsChanged(dns.toSet().joinToString(separator = ","))
}
fun notifyTimeZoneChanged(name: String, offset: Int) {