Let the user hide the account pickers outside Settings

This commit is contained in:
Arkadiusz Fal
2026-09-13 18:56:18 +02:00
parent ce97aa1031
commit 5136b79f49
10 changed files with 101 additions and 17 deletions

View File

@@ -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