diff --git a/apps/mobile/src/features/threads/ThreadNavigationSidebar.tsx b/apps/mobile/src/features/threads/ThreadNavigationSidebar.tsx index b1cf0a8042..d4d0c925ca 100644 --- a/apps/mobile/src/features/threads/ThreadNavigationSidebar.tsx +++ b/apps/mobile/src/features/threads/ThreadNavigationSidebar.tsx @@ -490,6 +490,17 @@ export function ThreadNavigationSidebar(props: { const { Screen, ScreenStack, ScreenStackHeaderConfig } = require("react-native-screens") as typeof import("react-native-screens"); const nativeHeaderRightBarButtonItems = [ + { + accessibilityLabel: "Open settings", + icon: { name: "gearshape", type: "sfSymbol" }, + identifier: "thread-sidebar-settings", + onPress: props.onOpenSettings, + sharesBackground: true, + tintColor: foregroundColor, + type: "button", + variant: "prominent", + width: 58, + }, { accessibilityLabel: "Filter and sort threads", icon: { name: filterIcon, type: "sfSymbol" }, @@ -561,17 +572,6 @@ export function ThreadNavigationSidebar(props: { variant: "prominent", width: 58, }, - { - accessibilityLabel: "Open settings", - icon: { name: "gearshape", type: "sfSymbol" }, - identifier: "thread-sidebar-settings", - onPress: props.onOpenSettings, - sharesBackground: true, - tintColor: foregroundColor, - type: "button", - variant: "prominent", - width: 58, - }, ] as ComponentProps["headerRightBarButtonItems"]; return ( diff --git a/apps/mobile/src/features/threads/ThreadRouteScreen.tsx b/apps/mobile/src/features/threads/ThreadRouteScreen.tsx index 57155cbba5..58055ca859 100644 --- a/apps/mobile/src/features/threads/ThreadRouteScreen.tsx +++ b/apps/mobile/src/features/threads/ThreadRouteScreen.tsx @@ -701,7 +701,7 @@ function ThreadRouteContent( projectScripts={selectedThreadProject?.scripts ?? []} terminalSessions={terminalMenuSessions} showDirectFileControl={layout.usesSplitView} - showSearchSlot={false} + showSearchSlot={layout.usesSplitView} onOpenTerminal={handleOpenTerminal} onOpenNewTerminal={handleOpenNewTerminal} onRunProjectScript={handleRunProjectScript}