Add custom on-demand rules support

This commit is contained in:
世界
2025-12-30 00:18:43 +08:00
parent 6de410c3f7
commit 58b5e9d732
13 changed files with 1310 additions and 59 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ public extension Profile {
nonisolated func onProfileUpdated() async throws {
if await SharedPreferences.selectedProfileID.get() == id {
if let profile = try? await ExtensionProfile.load() {
if profile.status == .connected {
if await profile.status == .connected {
try LibboxNewStandaloneCommandClient()!.serviceReload()
}
}