From fa2f2a4aedc72b6e56a88efd0d3b7d5cb0c092ec Mon Sep 17 00:00:00 2001 From: mkzie2 Date: Fri, 3 Jan 2025 10:04:53 +0700 Subject: [PATCH] add safe area padding bottom for hight resolution infor --- src/components/Attachments/AttachmentView/index.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/Attachments/AttachmentView/index.tsx b/src/components/Attachments/AttachmentView/index.tsx index 1281c017308d..17596bea9af0 100644 --- a/src/components/Attachments/AttachmentView/index.tsx +++ b/src/components/Attachments/AttachmentView/index.tsx @@ -14,6 +14,7 @@ import Text from '@components/Text'; import {usePlaybackContext} from '@components/VideoPlayerContexts/PlaybackContext'; import useLocalize from '@hooks/useLocalize'; import useNetwork from '@hooks/useNetwork'; +import useStyledSafeAreaInsets from '@hooks/useStyledSafeAreaInsets'; import useStyleUtils from '@hooks/useStyleUtils'; import useTheme from '@hooks/useTheme'; import useThemeStyles from '@hooks/useThemeStyles'; @@ -111,6 +112,7 @@ function AttachmentView({ const attachmentCarouselPagerContext = useContext(AttachmentCarouselPagerContext); const theme = useTheme(); + const {safeAreaPaddingBottomStyle} = useStyledSafeAreaInsets(); const styles = useThemeStyles(); const StyleUtils = useStyleUtils(); const [loadComplete, setLoadComplete] = useState(false); @@ -281,7 +283,7 @@ function AttachmentView({ }} /> - {isHighResolution && } + {isHighResolution && } ); }