fix(android): update vpn routes when proxy cidrs change (#1717)

This commit is contained in:
Mg Pig authored and GitHub committed 2025-12-30 19:26:42 +08:00
1 parent 650323faef
commit 18478b7c4b
11 files changed
+257 -68

No files matched your search

+10
View File
@@ -414,6 +414,16 @@ fn handle_event(
GlobalCtxEvent::ConfigPatched(patch) => {
print_event(instance_id, format!("config patched. patch: {:?}", patch));
}
GlobalCtxEvent::ProxyCidrsUpdated(added, removed) => {
print_event(
instance_id,
format!(
"proxy CIDRs updated. added: {:?}, removed: {:?}",
added, removed
),
);
}
}
} else {
events = events.resubscribe();