fix padding in immersive lpayer
This commit is contained in:
@@ -882,7 +882,10 @@ function Overlay({
|
|||||||
player={player}
|
player={player}
|
||||||
seekingAnimationSV={seekingAnimationSV}
|
seekingAnimationSV={seekingAnimationSV}
|
||||||
scrollGesture={scrollGesture}>
|
scrollGesture={scrollGesture}>
|
||||||
<PostThreadComposePrompt onPressCompose={onPressReply} />
|
<PostThreadComposePrompt
|
||||||
|
onPressCompose={onPressReply}
|
||||||
|
style={[a.pt_md, a.pb_sm]}
|
||||||
|
/>
|
||||||
</Scrubber>
|
</Scrubber>
|
||||||
</LinearGradient>
|
</LinearGradient>
|
||||||
</View>
|
</View>
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import {View} from 'react-native'
|
import {type StyleProp, View, type ViewStyle} from 'react-native'
|
||||||
import {LinearGradient} from 'expo-linear-gradient'
|
import {LinearGradient} from 'expo-linear-gradient'
|
||||||
import {msg, Trans} from '@lingui/macro'
|
import {msg, Trans} from '@lingui/macro'
|
||||||
import {useLingui} from '@lingui/react'
|
import {useLingui} from '@lingui/react'
|
||||||
@@ -16,8 +16,10 @@ import {Text} from '#/components/Typography'
|
|||||||
|
|
||||||
export function PostThreadComposePrompt({
|
export function PostThreadComposePrompt({
|
||||||
onPressCompose,
|
onPressCompose,
|
||||||
|
style,
|
||||||
}: {
|
}: {
|
||||||
onPressCompose: () => void
|
onPressCompose: () => void
|
||||||
|
style?: StyleProp<ViewStyle>
|
||||||
}) {
|
}) {
|
||||||
const {currentAccount} = useSession()
|
const {currentAccount} = useSession()
|
||||||
const {data: profile} = useProfileQuery({did: currentAccount?.did})
|
const {data: profile} = useProfileQuery({did: currentAccount?.did})
|
||||||
@@ -45,6 +47,7 @@ export function PostThreadComposePrompt({
|
|||||||
t.atoms.bg,
|
t.atoms.bg,
|
||||||
]
|
]
|
||||||
: [a.px_md, a.pb_2xs],
|
: [a.px_md, a.pb_2xs],
|
||||||
|
style,
|
||||||
]}>
|
]}>
|
||||||
{!gtMobile && (
|
{!gtMobile && (
|
||||||
<LinearGradient
|
<LinearGradient
|
||||||
|
|||||||
Reference in New Issue
Block a user