The best way to control Claude Code, Codex and more from any computer or phone
fix(web): hide sidebar search shortcut on mobile (#9932)
maria committed
Sep 5, 2026 at 14:43 UTC
8d3c56b487810455f7b695d1b849b4370b132d03
1 file changed
+3
-5
apps/web/src/components/LegacySidebar.tsx
+3
-5
@@ -3610,11 +3610,9 @@ export default function LegacySidebar() {
3610
desktopUpdateState && showArm64IntelBuildWarning
3611
? getArm64IntelBuildWarningDescription(desktopUpdateState)
3612
: null;
3613
- const commandPaletteShortcutLabel = shortcutLabelForCommand(
3614
- keybindings,
3615
- "commandPalette.toggle",
3616
- newThreadShortcutLabelOptions,
3617
- );
3613
+ const commandPaletteShortcutLabel = isMobile
3614
+ ? null
3615
+ : shortcutLabelForCommand(keybindings, "commandPalette.toggle", newThreadShortcutLabelOptions);
3616
const handleDesktopUpdateButtonClick = useCallback(async () => {
3617
const bridge = window.desktopBridge;
3618
if (!bridge || !desktopUpdateState) return;