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 embed: AppBskyEmbedVideo.View
onPressShow: () => void onPressShow: () => void
}) { }) {
const hider = Hider.useHider()
const {_} = useLingui() const {_} = useLingui()
const hider = Hider.useHider()
const {bottom} = useSafeAreaInsets()
const onShow = useCallback(() => { const onShow = useCallback(() => {
hider.setIsContentVisible(true) hider.setIsContentVisible(true)
@@ -594,13 +595,14 @@ function ModerationOverlay({
a.pt_4xl, a.pt_4xl,
{ {
top: 'auto', top: 'auto',
paddingBottom: bottom,
}, },
]}> ]}>
<LinearGradient <LinearGradient
colors={['rgba(0,0,0,0)', 'rgba(0,0,0,0.4)']} colors={['rgba(0,0,0,0)', 'rgba(0,0,0,0.4)']}
style={[a.absolute, a.inset_0]} style={[a.absolute, a.inset_0]}
/> />
<Divider style={{backgroundColor: 'white'}} /> <Divider style={{borderColor: 'white'}} />
<View style={[]}> <View style={[]}>
<Button <Button
label={_(msg`View details`)} label={_(msg`View details`)}