tab change on press rather than pressIn (#5508)

This commit is contained in:
Samuel Newman
2024-09-26 21:05:12 +01:00
committed by GitHub
parent a61b75be57
commit 77c4a9922f
+1 -2
View File
@@ -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}