diff options
| author | Dustin Mierau <dustin@mierau.me> | 2025-11-14 16:02:56 -0800 |
|---|---|---|
| committer | Dustin Mierau <dustin@mierau.me> | 2025-11-14 16:02:56 -0800 |
| commit | a1ec37248ce36e84cbdb896e226f241f39df8292 (patch) | |
| tree | ad84aba4918fafeb75e4fa761dc97a380760d626 /Hotline/MacApp.swift | |
| parent | da1d7001f5132115bfdbe19cd95e73b04ba76c95 (diff) | |
Bit more work on error handling.
Diffstat (limited to 'Hotline/MacApp.swift')
| -rw-r--r-- | Hotline/MacApp.swift | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Hotline/MacApp.swift b/Hotline/MacApp.swift index 4f6c2af..bf816d7 100644 --- a/Hotline/MacApp.swift +++ b/Hotline/MacApp.swift @@ -184,9 +184,11 @@ struct Application: App { } defaultValue: { Server(name: nil, description: nil, address: "") } - .modelContainer(self.modelContainer) + .windowToolbarStyle(.unified) +// .windowStyle(.hiddenTitleBar) .defaultSize(width: 780, height: 640) .defaultPosition(.center) + .modelContainer(self.modelContainer) .onChange(of: activeServerState) { AppState.shared.activeServerState = self.activeServerState } |