aboutsummaryrefslogtreecommitdiff
path: root/Hotline/Application.swift
diff options
context:
space:
mode:
Diffstat (limited to 'Hotline/Application.swift')
-rw-r--r--Hotline/Application.swift5
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
}