fix(app): revert unifiedCompact toolbar style
Was a genuinely shorter toolbar height, not "unified minus the title" as intended — made the whole toolbar look slim. Superseded by the empty-navigationTitle fix in the previous commit anyway.
This commit is contained in:
@@ -35,14 +35,6 @@ struct OutpostApp: App {
|
||||
#endif
|
||||
}
|
||||
#if os(macOS)
|
||||
// On macOS's unified toolbar, the native title text renders in the
|
||||
// same row as a `.navigation`-placed toolbar item — with both set to
|
||||
// the same collection/document name, it visibly duplicated, with the
|
||||
// system back button sandwiched between the two. `.navigationTitle`
|
||||
// stays set (for the Window menu / Mission Control), just hidden here.
|
||||
// `.unified` (not `.unifiedCompact`) keeps the toolbar at normal
|
||||
// height — compact is a shorter style, not merely "unified minus title".
|
||||
.windowToolbarStyle(.unified(showsTitle: false))
|
||||
.commands {
|
||||
CommandGroup(replacing: .appInfo) {
|
||||
Button("About Outpost") {
|
||||
|
||||
Reference in New Issue
Block a user