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

This commit is contained in:
Mg Pig
2025-12-30 19:26:42 +08:00
committed by GitHub
parent 650323faef
commit 18478b7c4b
11 changed files with 257 additions and 68 deletions
+2
View File
@@ -55,6 +55,8 @@ pub enum GlobalCtxEvent {
PortForwardAdded(PortForwardConfigPb),
ConfigPatched(InstanceConfigPatch),
ProxyCidrsUpdated(Vec<cidr::Ipv4Cidr>, Vec<cidr::Ipv4Cidr>), // (added, removed)
}
pub type EventBus = tokio::sync::broadcast::Sender<GlobalCtxEvent>;