chore(instances): harden presence refresh and fix lint

This commit is contained in:
Peter Steinberger
2025-12-09 04:51:54 +01:00
parent 658e0c6b03
commit f0860ec145
7 changed files with 53 additions and 13 deletions

View File

@@ -9,6 +9,9 @@ struct InstancesSettings: View {
if let err = store.lastError {
Text("Error: \(err)")
.foregroundStyle(.red)
} else if let info = store.statusMessage {
Text(info)
.foregroundStyle(.secondary)
}
if self.store.instances.isEmpty {
Text("No instances reported yet.")