Merge branch 'pnbx/base' of https://github.com/bluesky-social/social-app into pnbx/base
This commit is contained in:
@@ -191,12 +191,13 @@ export function Scrubber({
|
||||
a.justify_end,
|
||||
a.py_lg,
|
||||
{
|
||||
paddingBottom: insets.bottom + a.py_md.paddingBottom,
|
||||
paddingBottom: insets.bottom + tokens.space.md,
|
||||
height:
|
||||
// bottom padding
|
||||
insets.bottom +
|
||||
// actual height
|
||||
tokens.space.xl,
|
||||
tokens.space.xl +
|
||||
tokens.space.md,
|
||||
},
|
||||
a.z_10,
|
||||
]}>
|
||||
@@ -233,7 +234,7 @@ export function ScrubberPlaceholder() {
|
||||
a.w_full,
|
||||
{
|
||||
// same as Scrubber
|
||||
height: bottom + tokens.space.xl,
|
||||
height: bottom + tokens.space.xl + tokens.space.md,
|
||||
},
|
||||
]}
|
||||
/>
|
||||
|
||||
@@ -940,10 +940,10 @@ function PlayPauseTapArea({
|
||||
post: Shadow<AppBskyFeedDefs.PostView>
|
||||
feedContext: string | undefined
|
||||
}) {
|
||||
const {_} = useLingui()
|
||||
const doubleTapRef = useRef<ReturnType<typeof setTimeout> | null>(null)
|
||||
const playHaptic = useHaptics()
|
||||
const [queueLike] = usePostLikeMutationQueue(post, 'ImmersiveVideo')
|
||||
|
||||
const {sendInteraction} = useFeedFeedbackContext()
|
||||
|
||||
const togglePlayPause = () => {
|
||||
@@ -975,8 +975,8 @@ function PlayPauseTapArea({
|
||||
return (
|
||||
<Button
|
||||
disabled={!player}
|
||||
label="Toggle play/pause"
|
||||
accessibilityHint="Double tap to like"
|
||||
label={_(`Tap to play or pause the video`)}
|
||||
accessibilityHint={_(msg`Double tap to like`)}
|
||||
onPress={onPress}
|
||||
style={[a.absolute, a.inset_0]}>
|
||||
<View />
|
||||
|
||||
Reference in New Issue
Block a user