From 907b8d17f5784d520d917712dea3acef591db514 Mon Sep 17 00:00:00 2001
From: Hailey <me@haileyok.com>
Date: Fri, 11 Oct 2024 16:24:22 -0700
Subject: shift hitslop of avi follow button (#5730)

* shift the hitslop of the follow button

* increase slop
---
 src/view/com/posts/AviFollowButton.tsx | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

(limited to 'src/view/com/posts/AviFollowButton.tsx')

diff --git a/src/view/com/posts/AviFollowButton.tsx b/src/view/com/posts/AviFollowButton.tsx
index 00428cbe6..269d4eb5a 100644
--- a/src/view/com/posts/AviFollowButton.tsx
+++ b/src/view/com/posts/AviFollowButton.tsx
@@ -5,7 +5,6 @@ import {msg} from '@lingui/macro'
 import {useLingui} from '@lingui/react'
 import {useNavigation} from '@react-navigation/native'
 
-import {createHitslop} from '#/lib/constants'
 import {NavigationProp} from '#/lib/routes/types'
 import {sanitizeDisplayName} from '#/lib/strings/display-names'
 import {useProfileShadow} from '#/state/cache/profile-shadow'
@@ -85,7 +84,12 @@ export function AviFollowButton({
       {!isFollowing && (
         <Button
           label={_(msg`Open ${name} profile shortcut menu`)}
-          hitSlop={createHitslop(3)}
+          hitSlop={{
+            top: 0,
+            left: 0,
+            right: 5,
+            bottom: 5,
+          }}
           style={[
             a.rounded_full,
             a.absolute,
-- 
cgit 1.4.1

