diff options
author | Minseo Lee <itoupluk427@gmail.com> | 2024-03-16 16:23:04 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-16 16:23:04 +0900 |
commit | 6d57094c6a9898076e52baf9a5a4d2455c308280 (patch) | |
tree | 7252de95d8b1925f3da5473fa759b8a17b6c1f40 /src/components/Dialog/index.tsx | |
parent | 242b899f79b4467f2822bb5e0f7eb6990e114fff (diff) | |
parent | 98bca69ae996dabf3c7bf05f98497b56b62cb494 (diff) | |
download | voidsky-6d57094c6a9898076e52baf9a5a4d2455c308280.tar.zst |
Merge branch 'bluesky-social:main' into patch-3
Diffstat (limited to 'src/components/Dialog/index.tsx')
-rw-r--r-- | src/components/Dialog/index.tsx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/components/Dialog/index.tsx b/src/components/Dialog/index.tsx index 5f6edeac7..0da2919c5 100644 --- a/src/components/Dialog/index.tsx +++ b/src/components/Dialog/index.tsx @@ -23,6 +23,7 @@ import { DialogInnerProps, } from '#/components/Dialog/types' import {Context} from '#/components/Dialog/context' +import {isNative} from 'platform/detection' export {useDialogControl, useDialogContext} from '#/components/Dialog/context' export * from '#/components/Dialog/types' @@ -221,7 +222,8 @@ export function ScrollableInner({children, style}: DialogInnerProps) { borderTopRightRadius: 40, }, flatten(style), - ]}> + ]} + contentContainerStyle={isNative ? a.pb_4xl : undefined}> {children} <View style={{height: insets.bottom + a.pt_5xl.paddingTop}} /> </BottomSheetScrollView> |