File tree 1 file changed +3
-1
lines changed
src/components/Attachments/AttachmentView
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ import Text from '@components/Text';
14
14
import { usePlaybackContext } from '@components/VideoPlayerContexts/PlaybackContext' ;
15
15
import useLocalize from '@hooks/useLocalize' ;
16
16
import useNetwork from '@hooks/useNetwork' ;
17
+ import useStyledSafeAreaInsets from '@hooks/useStyledSafeAreaInsets' ;
17
18
import useStyleUtils from '@hooks/useStyleUtils' ;
18
19
import useTheme from '@hooks/useTheme' ;
19
20
import useThemeStyles from '@hooks/useThemeStyles' ;
@@ -111,6 +112,7 @@ function AttachmentView({
111
112
const attachmentCarouselPagerContext = useContext ( AttachmentCarouselPagerContext ) ;
112
113
113
114
const theme = useTheme ( ) ;
115
+ const { safeAreaPaddingBottomStyle} = useStyledSafeAreaInsets ( ) ;
114
116
const styles = useThemeStyles ( ) ;
115
117
const StyleUtils = useStyleUtils ( ) ;
116
118
const [ loadComplete , setLoadComplete ] = useState ( false ) ;
@@ -281,7 +283,7 @@ function AttachmentView({
281
283
} }
282
284
/>
283
285
</ View >
284
- { isHighResolution && < HighResolutionInfo isUploaded = { isUploaded } /> }
286
+ < View style = { safeAreaPaddingBottomStyle } > { isHighResolution && < HighResolutionInfo isUploaded = { isUploaded } /> } </ View >
285
287
</ >
286
288
) ;
287
289
}
You can’t perform that action at this time.
0 commit comments