mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-11-08 02:52:07 +08:00
fix(macos): preserve DNS and proxy state across network changes
This commit is contained in:
@@ -49,6 +49,7 @@ async fn reapply() {
|
||||
.enable_system_proxy
|
||||
.unwrap_or_default()
|
||||
{
|
||||
crate::utils::resolve::dns::sync_public_dns().await;
|
||||
return;
|
||||
}
|
||||
if !proxy_control::has_network_service().await {
|
||||
|
||||
Reference in New Issue
Block a user