Fix mod footer

This commit is contained in:
Eric Bailey
2025-01-18 17:48:53 -06:00
parent ad680bc484
commit 1b32c72718
+4 -2
View File
@@ -550,8 +550,9 @@ function ModerationOverlay({
embed: AppBskyEmbedVideo.View
onPressShow: () => void
}) {
const hider = Hider.useHider()
const {_} = useLingui()
const hider = Hider.useHider()
const {bottom} = useSafeAreaInsets()
const onShow = useCallback(() => {
hider.setIsContentVisible(true)
@@ -594,13 +595,14 @@ function ModerationOverlay({
a.pt_4xl,
{
top: 'auto',
paddingBottom: bottom,
},
]}>
<LinearGradient
colors={['rgba(0,0,0,0)', 'rgba(0,0,0,0.4)']}
style={[a.absolute, a.inset_0]}
/>
<Divider style={{backgroundColor: 'white'}} />
<Divider style={{borderColor: 'white'}} />
<View style={[]}>
<Button
label={_(msg`View details`)}