refactor: CommandClient & Connections

This commit is contained in:
世界 committed 2026-01-16 20:08:33 +08:00
1 parent c479921a4f
commit 12c8bff2d4
6 files changed
+74 -37

No files matched your search

@@ -24,7 +24,7 @@ public struct ButtonVisibilityState {
groupsCount = Variant.screenshotMode && actualGroupsCount == 0
? screenshotFallbackGroupsCount
: actualGroupsCount
connectionsCount = commandClient.connections?.count ?? 0
connectionsCount = Int(commandClient.status?.connectionsIn ?? 0)
let isConnected = Variant.screenshotMode || profile.status.isConnectedStrict