diff options
| author | Dustin Mierau <dustin@mierau.me> | 2024-01-02 19:14:45 -0800 |
|---|---|---|
| committer | Dustin Mierau <dustin@mierau.me> | 2024-01-02 19:15:43 -0800 |
| commit | 7d670c5b63db44e32d33b7db3495b4d792866f86 (patch) | |
| tree | 0daff89e0cdac7e6becbc01f00d268e66f2849b6 /Hotline/macOS/TrackerView.swift | |
| parent | 78a93e5f5ed74010a130367d27221b2a11fb6542 (diff) | |
Fix banners not loading. First crack at adding a classic icon set with icons painsakenly pulled from the original Hotline client. May try to "remaster" these somehow.
Diffstat (limited to 'Hotline/macOS/TrackerView.swift')
| -rw-r--r-- | Hotline/macOS/TrackerView.swift | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Hotline/macOS/TrackerView.swift b/Hotline/macOS/TrackerView.swift index 3870a38..0f6b6b2 100644 --- a/Hotline/macOS/TrackerView.swift +++ b/Hotline/macOS/TrackerView.swift @@ -62,7 +62,7 @@ class TrackerItem: Identifiable, Hashable { self.loading = true // self.servers = [] - let fetchedServers: [HotlineServer] = await client.fetchServers(address: bookmark.address, port: Tracker.defaultPort) + let fetchedServers: [HotlineServer] = await client.fetchServers(address: bookmark.address, port: HotlinePorts.DefaultTrackerPort) client.disconnect() @@ -311,7 +311,7 @@ struct TrackerView: View { else if let bookmark = clickedItem.bookmark, bookmark.type == .server { - let server = Server(name: bookmark.name, description: nil, address: bookmark.address, port: Server.defaultPort) + let server = Server(name: bookmark.name, description: nil, address: bookmark.address, port: HotlinePorts.DefaultServerPort) openWindow(value: server) } } |