Skip to content

Commit d404a30

Browse files
authored
fix(mobile): restore QR scanning in iPad pairing sheet (pingdotgg#16019)
1 parent 77c8747 commit d404a30

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎apps/mobile/src/Stack.tsx‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -905,6 +905,10 @@ const RootStackConfig = createWorkspaceStackNavigator({
905905
screen: ConnectionsNewRouteScreen,
906906
linking: "connections/new",
907907
options: {
908+
// Keep the iOS header visible from the first render so the sheet's
909+
// native header stack mounts without remounting the pairing form.
910+
...(Platform.OS === "ios" ? SHEET_GLASS_HEADER_OPTIONS : undefined),
911+
title: "Add Environment",
908912
...FORM_SHEET_PRESENTATION_OPTIONS,
909913
sheetAllowedDetents: [0.55, 0.7],
910914
sheetGrabberVisible: true,

0 commit comments

Comments
 (0)