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 && } ); }