diff options
author | Samuel Newman <mozzius@protonmail.com> | 2024-09-26 21:05:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-26 21:05:12 +0100 |
commit | 77c4a9922fed66b9a033e02c5d528ecdaac1341c (patch) | |
tree | 840dee98da77c871205c4ef4ecb382c116914dc6 | |
parent | a61b75be57a5ec62a057359978b406684be8e345 (diff) | |
download | voidsky-77c4a9922fed66b9a033e02c5d528ecdaac1341c.tar.zst |
tab change on press rather than pressIn (#5508)
-rw-r--r-- | src/view/shell/bottom-bar/BottomBar.tsx | 3 |
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} |