aboutsummaryrefslogtreecommitdiff
path: root/Hotline/MacApp.swift
diff options
context:
space:
mode:
authorDustin Mierau <dustin@mierau.me>2025-11-14 09:56:46 -0800
committerDustin Mierau <dustin@mierau.me>2025-11-14 09:56:46 -0800
commitda1d7001f5132115bfdbe19cd95e73b04ba76c95 (patch)
treeba9b446db9a15e4b32d9101be518bdf65ac105a2 /Hotline/MacApp.swift
parent46384d99b78cca150aa720eb915d161b5be8c08d (diff)
Add kick and improve client info display. Also improve error messages when can't connect (server down) or can't login (show server message).
Diffstat (limited to 'Hotline/MacApp.swift')
-rw-r--r--Hotline/MacApp.swift6
1 files changed, 3 insertions, 3 deletions
diff --git a/Hotline/MacApp.swift b/Hotline/MacApp.swift
index 7997a87..4f6c2af 100644
--- a/Hotline/MacApp.swift
+++ b/Hotline/MacApp.swift
@@ -185,13 +185,13 @@ struct Application: App {
Server(name: nil, description: nil, address: "")
}
.modelContainer(self.modelContainer)
- .defaultSize(width: 690, height: 760)
+ .defaultSize(width: 780, height: 640)
.defaultPosition(.center)
.onChange(of: activeServerState) {
- AppState.shared.activeServerState = activeServerState
+ AppState.shared.activeServerState = self.activeServerState
}
.onChange(of: activeHotline) {
- AppState.shared.activeHotline = activeHotline
+ AppState.shared.activeHotline = self.activeHotline
}
.commands {
CommandGroup(replacing: .newItem) {