fix(mac): hide window title in toolbar on all pages

This commit is contained in:
hh committed 2026-09-23 05:03:53 +02:00
1 parent d2d7166cf0
commit 9775248485
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -19,7 +19,7 @@
}
} detail: {
GeometryReader { proxy in
TabStack(tab: selection.tab) { selection.root }
TabStack(tab: selection.tab) { selection.root.toolbar(removing: .title) }
.frame(width: proxy.size.width, height: proxy.size.height)
.safeAreaInset(edge: .bottom, spacing: 0) { Color.clear.frame(height: 84) }
}
+1 -1
View File
@@ -168,7 +168,7 @@ private struct SearchTitle: ViewModifier {
#if os(iOS)
content.navigationTitle("Search")
#else
content.toolbar(removing: .title)
content
#endif
}
}