mirror of
https://github.com/yattee/yattee.git
synced 2026-11-01 17:37:18 +00:00
Let the user hide the account pickers outside Settings
This commit is contained in:
@@ -427,12 +427,14 @@ struct UnifiedTabView: View {
|
||||
VStack(spacing: 0) {
|
||||
sidebarList
|
||||
|
||||
Divider()
|
||||
// The window has no toolbar of its own to hang this off, and the
|
||||
// sidebar is the one chrome every tab shares.
|
||||
DataContextSwitcherSettingsRow()
|
||||
.padding(.horizontal, 12)
|
||||
.padding(.vertical, 8)
|
||||
if settingsManager?.showAccountPickers ?? true {
|
||||
Divider()
|
||||
// The window has no toolbar of its own to hang this off, and the
|
||||
// sidebar is the one chrome every tab shares.
|
||||
DataContextSwitcherSettingsRow()
|
||||
.padding(.horizontal, 12)
|
||||
.padding(.vertical, 8)
|
||||
}
|
||||
}
|
||||
#else
|
||||
sidebarList
|
||||
|
||||
Reference in New Issue
Block a user