The best way to control Claude Code, Codex and more from any computer or phone
fix(mobile): hide compose in the detail rail while starting a task (#33678)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Julius Marminge committed
Nov 9, 2026 at 19:39 UTC
331889a13560e6d8885629e2a6e89b2203ebf2cf
1 file changed
+7
-7
apps/mobile/src/features/layout/createWorkspaceStackNavigator.ios.tsx
+7
-7
@@ -90,6 +90,12 @@ const isPullRequestRoute = (route: Route) =>
90
route.name === "PullRequestFile" ||
91
route.name === "PullRequestFiles";
92
93
+// Every step of starting a task, from the project picker to the draft thread itself.
94
+const isNewTaskRoute = (route: Route) =>
95
+ route.name.startsWith("NewTask") ||
96
+ route.name.startsWith("AddProject") ||
97
+ (route.params !== undefined && "draft" in route.params && Boolean(route.params.draft));
98
+
99
/** Beside the list, the first Settings page shows on one native screen that swaps its content. */
100
const SETTINGS_DETAIL_SCREEN = "settings-detail";
101
@@ -157,13 +163,7 @@ function ColumnScreen(props: {
163
options={options}
164
canGoBack={!props.primary}
165
column={props.primary ? "primary" : "detail"}
160
- onCompose={
161
- descriptor.route.params &&
162
- "draft" in descriptor.route.params &&
163
- descriptor.route.params.draft
164
- ? undefined
165
- : props.onCompose
166
- }
166
+ onCompose={isNewTaskRoute(descriptor.route) ? undefined : props.onCompose}
167
/>
168
<ColumnContent
169
primary={sidebar}