diff --git a/apps/web/src/components/Sidebar.tsx b/apps/web/src/components/Sidebar.tsx index b594edb4..f538dc49 100644 --- a/apps/web/src/components/Sidebar.tsx +++ b/apps/web/src/components/Sidebar.tsx @@ -5095,18 +5095,8 @@ export default function Sidebar() { ); - const titlebarControls = ( -
- - -
- ); - - const headerControls = ( -
+ const desktopSidebarControls = ( +
{brandWordmark} - {headerControls} +
{desktopSidebarControls}
+
+ ); + + const sidebarBrand = ( +
+ {brandWordmark} +
{desktopSidebarControls}
); - const sidebarBrand =
{brandWordmark}
; + const settingsBackToAppButton = ( + handleSidebarViewChange("threads")} + > + + Back to app + + ); return ( <> - {isElectron ? ( - <> - - {titlebarControls} - - - ) : ( + {isElectron ? null : ( {wordmark} @@ -5172,18 +5170,16 @@ export default function Sidebar() { ) : null} {isOnSettings ? ( - - - handleSidebarViewChange("threads")} - > - - Back to app - - - + {isElectron ? ( +
+
{settingsBackToAppButton}
+ {desktopSidebarControls} +
+ ) : ( + + {settingsBackToAppButton} + + )}
diff --git a/apps/web/src/components/SidebarHeaderNavigationControls.tsx b/apps/web/src/components/SidebarHeaderNavigationControls.tsx index 6782ec50..cf4a2b5a 100644 --- a/apps/web/src/components/SidebarHeaderNavigationControls.tsx +++ b/apps/web/src/components/SidebarHeaderNavigationControls.tsx @@ -15,7 +15,7 @@ export function SidebarHeaderNavigationControls() { } return ( -
+