From 101cbcacb671a1621af6ee2a49ac2021f9abe1c6 Mon Sep 17 00:00:00 2001 From: Dustin Mierau Date: Wed, 20 Dec 2023 15:55:50 -0800 Subject: Stop requesting news when closing category. Add Server should do nothing right now (was hooked up to refresh). --- Hotline/macOS/TrackerView.swift | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'Hotline/macOS/TrackerView.swift') diff --git a/Hotline/macOS/TrackerView.swift b/Hotline/macOS/TrackerView.swift index 02e0c5e..ca1595d 100644 --- a/Hotline/macOS/TrackerView.swift +++ b/Hotline/macOS/TrackerView.swift @@ -165,9 +165,10 @@ struct TrackerItemView: View { Text("\(server.users) \(Image(systemName: "person.fill"))") .lineLimit(1) .foregroundStyle(.secondary) - .padding([.leading, .trailing], 8) + .padding([.leading, .trailing], 4) .padding([.top, .bottom], 2) - .background(Capsule(style: .circular).stroke(.secondary.opacity(0.3), lineWidth: 1)) +// .background(Capsule(style: .circular).stroke(.secondary, lineWidth: 1)) +// .opacity(0.5) } else if let bookmark = item.bookmark, @@ -360,9 +361,6 @@ struct TrackerView: View { ToolbarItem(placement: .primaryAction) { Button { - Task { - await refresh() - } } label: { Label("Add Server", systemImage: "plus") } -- cgit