fix(mac): hide window title in toolbar on all pages
This commit is contained in:
1 parent
d2d7166cf0
commit
9775248485
2 files changed
+2
-2
No files matched your search
@@ -19,7 +19,7 @@
|
|||||||
}
|
}
|
||||||
} detail: {
|
} detail: {
|
||||||
GeometryReader { proxy in
|
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)
|
.frame(width: proxy.size.width, height: proxy.size.height)
|
||||||
.safeAreaInset(edge: .bottom, spacing: 0) { Color.clear.frame(height: 84) }
|
.safeAreaInset(edge: .bottom, spacing: 0) { Color.clear.frame(height: 84) }
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -168,7 +168,7 @@ private struct SearchTitle: ViewModifier {
|
|||||||
#if os(iOS)
|
#if os(iOS)
|
||||||
content.navigationTitle("Search")
|
content.navigationTitle("Search")
|
||||||
#else
|
#else
|
||||||
content.toolbar(removing: .title)
|
content
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user