diff options
| author | Dustin Mierau <dustin@mierau.me> | 2023-12-20 12:37:29 -0800 |
|---|---|---|
| committer | Dustin Mierau <dustin@mierau.me> | 2023-12-20 12:37:29 -0800 |
| commit | 174e5554fc55f19b36b9fa3a3155d27ef918141d (patch) | |
| tree | a4b4e009a284da8c8739d9a64638d5f3dafcd64f /Hotline/Application.swift | |
| parent | f58b0da88077b3129c2321b4af82b807c6d38ebf (diff) | |
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.
Diffstat (limited to 'Hotline/Application.swift')
| -rw-r--r-- | Hotline/Application.swift | 5 |
1 files changed, 5 insertions, 0 deletions
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 } |