Fix unexpected connect error

This commit is contained in:
世界
2025-12-13 16:11:32 +08:00
parent 2da9397ef6
commit 14c0b34368
3 changed files with 39 additions and 13 deletions
+1
View File
@@ -17,6 +17,7 @@ public struct SidebarView: View {
ProgressView()
} else if let profile = environments.extensionProfile {
sidebarContent(isConnected: profile.status.isConnectedStrict, profile: profile)
.onReceive(profile.$status) { _ in }
.onChangeCompat(of: profile.status) {
if !selection.visible(profile) {
DispatchQueue.main.async {