about summary refs log tree commit diff
path: root/src/view
diff options
context:
space:
mode:
authorSamuel Newman <mozzius@protonmail.com>2024-09-26 21:05:12 +0100
committerGitHub <noreply@github.com>2024-09-26 21:05:12 +0100
commit77c4a9922fed66b9a033e02c5d528ecdaac1341c (patch)
tree840dee98da77c871205c4ef4ecb382c116914dc6 /src/view
parenta61b75be57a5ec62a057359978b406684be8e345 (diff)
downloadvoidsky-77c4a9922fed66b9a033e02c5d528ecdaac1341c.tar.zst
tab change on press rather than pressIn (#5508)
Diffstat (limited to 'src/view')
-rw-r--r--src/view/shell/bottom-bar/BottomBar.tsx3
1 files changed, 1 insertions, 2 deletions
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}