fix(mobile): restore QR scanning in iPad pairing sheet (#16019)

This commit is contained in:
Arham Mahajan authored and GitHub committed 2026-10-11 00:04:36 -03:00
1 parent 77c8747150
commit d404a30118
1 file changed
+4
+4
View File
@@ -905,6 +905,10 @@ const RootStackConfig = createWorkspaceStackNavigator({
screen: ConnectionsNewRouteScreen,
linking: "connections/new",
options: {
// Keep the iOS header visible from the first render so the sheet's
// native header stack mounts without remounting the pairing form.
...(Platform.OS === "ios" ? SHEET_GLASS_HEADER_OPTIONS : undefined),
title: "Add Environment",
...FORM_SHEET_PRESENTATION_OPTIONS,
sheetAllowedDetents: [0.55, 0.7],
sheetGrabberVisible: true,