fix padding in immersive lpayer

This commit is contained in:
Samuel Newman
2025-06-11 21:57:28 +03:00
parent c1bc8824fd
commit 16e942cbb7
2 changed files with 8 additions and 2 deletions
+4 -1
View File
@@ -882,7 +882,10 @@ function Overlay({
player={player}
seekingAnimationSV={seekingAnimationSV}
scrollGesture={scrollGesture}>
<PostThreadComposePrompt onPressCompose={onPressReply} />
<PostThreadComposePrompt
onPressCompose={onPressReply}
style={[a.pt_md, a.pb_sm]}
/>
</Scrubber>
</LinearGradient>
</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 {msg, Trans} from '@lingui/macro'
import {useLingui} from '@lingui/react'
@@ -16,8 +16,10 @@ import {Text} from '#/components/Typography'
export function PostThreadComposePrompt({
onPressCompose,
style,
}: {
onPressCompose: () => void
style?: StyleProp<ViewStyle>
}) {
const {currentAccount} = useSession()
const {data: profile} = useProfileQuery({did: currentAccount?.did})
@@ -45,6 +47,7 @@ export function PostThreadComposePrompt({
t.atoms.bg,
]
: [a.px_md, a.pb_2xs],
style,
]}>
{!gtMobile && (
<LinearGradient