Fix mod footer
This commit is contained in:
@@ -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`)}
|
||||||
|
|||||||
Reference in New Issue
Block a user