feat(ios): unify list cards and loading states

This commit is contained in:
chick
2026-09-10 01:35:12 +08:00
parent 995206ac23
commit c841748971
32 changed files with 1297 additions and 607 deletions
@@ -67,10 +67,6 @@ final class LogsViewModel: ObservableObject {
snapshot?.diagnostics.filter { $0.state == .offline }.count ?? 0
}
var degradedCount: Int {
snapshot?.diagnostics.filter { $0.capabilities.degraded > 0 }.count ?? 0
}
func refresh() async {
isLoading = true
errorMessage = nil