fix(app): use .unified instead of .unifiedCompact toolbar style

.unifiedCompact is a genuinely shorter toolbar height, not "unified
minus the title" — that's what made the toolbar look slim and likely
squeezed the custom navigation item too. .unified(showsTitle: false)
hides the native title without changing the toolbar's height.
This commit is contained in:
2026-08-14 01:10:46 +01:00
parent 8cc33c2b19
commit 952a9620a9
+3 -1
View File
@@ -40,7 +40,9 @@ struct OutpostApp: App {
// the same collection/document name, it visibly duplicated, with the // the same collection/document name, it visibly duplicated, with the
// system back button sandwiched between the two. `.navigationTitle` // system back button sandwiched between the two. `.navigationTitle`
// stays set (for the Window menu / Mission Control), just hidden here. // stays set (for the Window menu / Mission Control), just hidden here.
.windowToolbarStyle(.unifiedCompact(showsTitle: false)) // `.unified` (not `.unifiedCompact`) keeps the toolbar at normal
// height compact is a shorter style, not merely "unified minus title".
.windowToolbarStyle(.unified(showsTitle: false))
.commands { .commands {
CommandGroup(replacing: .appInfo) { CommandGroup(replacing: .appInfo) {
Button("About Outpost") { Button("About Outpost") {