From 77c4a9922fed66b9a033e02c5d528ecdaac1341c Mon Sep 17 00:00:00 2001
From: Samuel Newman <mozzius@protonmail.com>
Date: Thu, 26 Sep 2024 21:05:12 +0100
Subject: tab change on press rather than pressIn (#5508)

---
 src/view/shell/bottom-bar/BottomBar.tsx | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

(limited to 'src/view/shell/bottom-bar/BottomBar.tsx')

diff --git a/src/view/shell/bottom-bar/BottomBar.tsx b/src/view/shell/bottom-bar/BottomBar.tsx
index 02d942733..f0e6ba339 100644
--- a/src/view/shell/bottom-bar/BottomBar.tsx
+++ b/src/view/shell/bottom-bar/BottomBar.tsx
@@ -355,8 +355,7 @@ function Btn({
     <PressableScale
       testID={testID}
       style={styles.ctrl}
-      onPress={onLongPress ? onPress : undefined}
-      onPressIn={onLongPress ? undefined : onPress}
+      onPress={onPress}
       onLongPress={onLongPress}
       accessible={accessible}
       accessibilityLabel={accessibilityLabel}
-- 
cgit 1.4.1

