mirror of https://git.lenooby09.tech/LeNooby09/social-app.git
0
fork

Configure Feed

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

shift hitslop of avi follow button (#5730)

* shift the hitslop of the follow button

* increase slop

authored by hailey.at and committed by

GitHub 907b8d17 e53b9729

+6 -2
+6 -2
src/view/com/posts/AviFollowButton.tsx
··· 5 5 import {useLingui} from '@lingui/react' 6 6 import {useNavigation} from '@react-navigation/native' 7 7 8 - import {createHitslop} from '#/lib/constants' 9 8 import {NavigationProp} from '#/lib/routes/types' 10 9 import {sanitizeDisplayName} from '#/lib/strings/display-names' 11 10 import {useProfileShadow} from '#/state/cache/profile-shadow' ··· 85 84 {!isFollowing && ( 86 85 <Button 87 86 label={_(msg`Open ${name} profile shortcut menu`)} 88 - hitSlop={createHitslop(3)} 87 + hitSlop={{ 88 + top: 0, 89 + left: 0, 90 + right: 5, 91 + bottom: 5, 92 + }} 89 93 style={[ 90 94 a.rounded_full, 91 95 a.absolute,