diff options
author | Samuel Newman <mozzius@protonmail.com> | 2024-03-15 16:45:17 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-15 16:45:17 +0000 |
commit | e30b3d9b3c8c45df16bd60e73a86dda28cd65073 (patch) | |
tree | 88e4b4c82d3c89e4decdb1b242d5ff6eee850e2a /src/components/Dialog/index.tsx | |
parent | 4f8381678da505737a96b7420c0f1ea8329f3672 (diff) | |
parent | 39da1cd465953d2c7dcc0d111f540e306cdb0108 (diff) | |
download | voidsky-e30b3d9b3c8c45df16bd60e73a86dda28cd65073.tar.zst |
Merge pull request #3218 from bluesky-social/samuel/alf-birthday
Use ALF for the birthday modal and remove legacy one
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> |