Skip to content

Commit

Permalink
tab change on press rather than pressIn (#5508)
Browse files Browse the repository at this point in the history
  • Loading branch information
mozzius authored Sep 26, 2024
1 parent a61b75b commit 77c4a99
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/view/shell/bottom-bar/BottomBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 77c4a99

Please sign in to comment.