tab change on press rather than pressIn (#5508)
This commit is contained in:
@@ -355,8 +355,7 @@ function Btn({
|
|||||||
<PressableScale
|
<PressableScale
|
||||||
testID={testID}
|
testID={testID}
|
||||||
style={styles.ctrl}
|
style={styles.ctrl}
|
||||||
onPress={onLongPress ? onPress : undefined}
|
onPress={onPress}
|
||||||
onPressIn={onLongPress ? undefined : onPress}
|
|
||||||
onLongPress={onLongPress}
|
onLongPress={onLongPress}
|
||||||
accessible={accessible}
|
accessible={accessible}
|
||||||
accessibilityLabel={accessibilityLabel}
|
accessibilityLabel={accessibilityLabel}
|
||||||
|
|||||||
Reference in New Issue
Block a user