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 22, 18:15 UTC
fix(mobile): the unfolded Duo keeps its header in portrait (#24339)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Julius Marminge committed
Oct 23, 2026 at 22:19 UTC
b24e8ce2df0f09bf01883c6b0010f75497e212b3
1 file changed
+9
-4
apps/mobile/src/native/V5StackHeader.ios.tsx
+9
-4
@@ -274,10 +274,15 @@ export function V5StackHeader(props: {
274
backButtonHidden={options.headerBackVisible === false}
275
ios={{
276
navigationItemStyle: options.unstable_navigationItemStyle,
277
- // Opt-ins apply only on the Duo's short display; unset falls back to the system default.
278
- minimizationBehavior: isDuoDevice(deviceType)
279
- ? options.unstable_headerMinimizationBehavior
280
- : undefined,
277
+ // Opt-ins apply only where the Duo is short: folded, or held landscape. The Duo
278
+ // resolves `automatic` to minimize on scroll, so the tall unfolded display opts out.
279
+ minimizationBehavior: !isDuoDevice(deviceType)
280
+ ? undefined
281
+ : deviceType === "duo-unfolded" &&
282
+ nativeMetrics &&
283
+ nativeMetrics.height > nativeMetrics.width
284
+ ? "never"
285
+ : options.unstable_headerMinimizationBehavior,
286
tintColor: options.headerTintColor,
287
searchBar:
288
mailSearch || searchOptions ? (