mirror of
https://github.com/yattee/yattee.git
synced 2026-10-26 14:42:53 +00:00
Leave the macOS toolbars to the sidebar's account switcher
This commit is contained in:
@@ -492,11 +492,15 @@ struct SubscriptionsView: View {
|
||||
.toolbarTitleDisplayMode(.inlineLarge)
|
||||
#endif
|
||||
.toolbar {
|
||||
// No switcher on macOS: the sidebar row is the one persistent
|
||||
// switcher surface there.
|
||||
#if !os(macOS)
|
||||
if DataContextSwitcherVisibility.showsPickers(in: appEnvironment) {
|
||||
ToolbarItem(placement: viewOptionsPlacement) {
|
||||
DataContextSwitcherMenu()
|
||||
}
|
||||
}
|
||||
#endif
|
||||
ToolbarItem(placement: viewOptionsPlacement) {
|
||||
Button {
|
||||
showViewOptions = true
|
||||
|
||||
Reference in New Issue
Block a user