From 174e5554fc55f19b36b9fa3a3155d27ef918141d Mon Sep 17 00:00:00 2001 From: Dustin Mierau Date: Wed, 20 Dec 2023 12:37:29 -0800 Subject: Tracker window now allows for bookmarks and multiple trackers like the original Hotline client. You still can't add servers or trackers, but support is there. Also removed title from message reader view on macOS. --- Hotline/Application.swift | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Hotline/Application.swift') diff --git a/Hotline/Application.swift b/Hotline/Application.swift index 14717c2..93bf025 100644 --- a/Hotline/Application.swift +++ b/Hotline/Application.swift @@ -16,7 +16,11 @@ struct Application: App { #elseif os(macOS) WindowGroup { TrackerView() + .frame(minWidth: 250, minHeight: 250) } + .defaultSize(width: 700, height: 600) + .defaultPosition(.center) + WindowGroup(for: Server.self) { $server in if let s = server { ServerView(server: s) @@ -25,6 +29,7 @@ struct Application: App { } } .defaultSize(width: 700, height: 800) + .defaultPosition(.center) #endif } -- cgit