From 0aa79221f4f52d72959a5c1246adb6889b4c4dda Mon Sep 17 00:00:00 2001 From: Arkadiusz Fal Date: Tue, 15 Sep 2026 23:56:46 +0200 Subject: [PATCH] Pin the account switcher under the iPad sidebar like macOS --- Yattee/Views/Navigation/UnifiedTabView.swift | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Yattee/Views/Navigation/UnifiedTabView.swift b/Yattee/Views/Navigation/UnifiedTabView.swift index cef507e9..5bea3938 100644 --- a/Yattee/Views/Navigation/UnifiedTabView.swift +++ b/Yattee/Views/Navigation/UnifiedTabView.swift @@ -68,6 +68,16 @@ struct UnifiedTabView: View { sidebarSections } .tabViewStyle(.sidebarAdaptable) + .tabViewSidebarBottomBar { + // Same chrome the macOS sidebar hangs below its list: the sidebar + // is the one surface every tab shares, so the switcher lives here + // rather than on each screen's toolbar. + if DataContextSwitcherVisibility.showsPickers(in: appEnvironment) { + DataContextSwitcherSettingsRow() + .padding(.horizontal, 8) + .padding(.vertical, 4) + } + } .iOS26TabFeatures(shouldShowAccessory: shouldShowAccessory, settingsManager: appEnvironment?.settingsManager) .zoomTransitionNamespace(zoomTransition) .zoomTransitionsEnabled(zoomTransitionsEnabled)