The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 23, 01:45 UTC
fix(mobile): Android thread pane no longer ends short after switching threads (#18963)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
Alex committed
Oct 19, 2026 at 12:24 UTC
4ac8fa41625c5276bcd36dc18c60f68391c8fd3e
1 file changed
+9
-7
apps/mobile/src/Stack.tsx
+9
-7
@@ -169,7 +169,9 @@ const GLASS_HEADER_OPTIONS: AppScreenOptions = {
169
unstable_navigationItemStyle: NATIVE_LIQUID_GLASS_SUPPORTED ? "editor" : undefined,
170
};
171
172
-const PULL_REQUEST_HEADER_OPTIONS: AppScreenOptions = {
172
+// Hiding Android's native header after mount can leave detail panes measured short.
173
+// These screens render their own Material toolbar, so hide it from the first layout.
174
+const DETAIL_HEADER_OPTIONS: AppScreenOptions = {
175
...GLASS_HEADER_OPTIONS,
176
headerShown: Platform.OS !== "android",
177
};
@@ -704,15 +706,15 @@ const RootStackConfig = createWorkspaceStackNavigator({
706
path: "pull-requests/:environmentId/:projectId/:repository/:number",
707
parse: { number: Number },
708
},
707
- options: PULL_REQUEST_HEADER_OPTIONS,
709
+ options: DETAIL_HEADER_OPTIONS,
710
}),
711
PullRequestGuideStop: createNativeStackScreen({
712
screen: PullRequestGuideStopScreen,
711
- options: PULL_REQUEST_HEADER_OPTIONS,
713
+ options: DETAIL_HEADER_OPTIONS,
714
}),
715
PullRequestFile: createNativeStackScreen({
716
screen: PullRequestFileRouteScreen,
715
- options: PULL_REQUEST_HEADER_OPTIONS,
717
+ options: DETAIL_HEADER_OPTIONS,
718
}),
719
PullRequestFiles: createNativeStackScreen({
720
screen: PullRequestFilesRouteScreen,
@@ -726,7 +728,7 @@ const RootStackConfig = createWorkspaceStackNavigator({
728
PullRequestReviewers: createNativeStackScreen({
729
screen: PullRequestReviewersScreen,
730
options: {
729
- ...PULL_REQUEST_HEADER_OPTIONS,
731
+ ...DETAIL_HEADER_OPTIONS,
732
...FORM_SHEET_PRESENTATION_OPTIONS,
733
sheetAllowedDetents: [0.75, 0.92],
734
sheetGrabberVisible: true,
@@ -735,7 +737,7 @@ const RootStackConfig = createWorkspaceStackNavigator({
737
}),
738
PullRequestDiscussion: createNativeStackScreen({
739
screen: PullRequestDiscussionScreen,
738
- options: PULL_REQUEST_HEADER_OPTIONS,
740
+ options: DETAIL_HEADER_OPTIONS,
741
}),
742
PullRequestInlineComment: createNativeStackScreen({
743
screen: PullRequestInlineCommentScreen,
@@ -760,7 +762,7 @@ const RootStackConfig = createWorkspaceStackNavigator({
762
Thread: createNativeStackScreen({
763
screen: ThreadRouteScreen,
764
linking: THREAD_LINKING_PREFIX,
763
- options: GLASS_HEADER_OPTIONS,
765
+ options: DETAIL_HEADER_OPTIONS,
766
}),
767
ThreadTerminal: createNativeStackScreen({
768
screen: ThreadTerminalRouteScreen,