mirror of
https://github.com/MetaCubeX/ClashMetaForAndroid.git
synced 2026-05-09 18:11:26 +08:00
send all dns server to core
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user