Skip to content

Commit ca09cf0

Browse files
committed
refactor(mobile): shorten file preview inset explanation
1 parent c34fe3d commit ca09cf0

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎apps/mobile/src/features/files/WorkspaceFileWebPreview.tsx‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,7 @@ function DocumentWebPreview(props: { readonly uri: string }) {
6565
) : null}
6666
<WebView
6767
source={{ uri: props.uri }}
68-
// File screens use a transparent glass header; react-native-webview defaults to "never",
69-
// so without this HTML starts under the status bar and header.
68+
// iOS file screens extend beneath the transparent header.
7069
contentInsetAdjustmentBehavior="automatic"
7170
originWhitelist={["*"]}
7271
allowsBackForwardNavigationGestures

0 commit comments

Comments
 (0)