Bluesky app fork with some witchin' additions 💫
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

add hitslop to repost button (#4469)

authored by

Samuel Newman and committed by
GitHub
4e9a6520 86e81650

+3 -1
+3 -1
src/view/com/util/post-ctrls/RepostButton.tsx
··· 3 3 import {msg, plural} from '@lingui/macro' 4 4 import {useLingui} from '@lingui/react' 5 5 6 + import {HITSLOP_10, HITSLOP_20} from '#/lib/constants' 6 7 import {useHaptics} from '#/lib/haptics' 7 8 import {useRequireAuth} from '#/state/session' 8 9 import {atoms as a, useTheme} from '#/alf' ··· 64 65 } (${plural(repostCount || 0, {one: '# repost', other: '# reposts'})})`} 65 66 shape="round" 66 67 variant="ghost" 67 - color="secondary"> 68 + color="secondary" 69 + hitSlop={big ? HITSLOP_20 : HITSLOP_10}> 68 70 <Repost style={color} width={big ? 22 : 18} /> 69 71 {typeof repostCount !== 'undefined' && repostCount > 0 ? ( 70 72 <Text