Speed up shell nav button presses
This commit is contained in:
parent
ba6580101e
commit
4143167ab7
1 changed files with 2 additions and 1 deletions
|
@ -79,7 +79,8 @@ const Btn = ({
|
|||
return (
|
||||
<TouchableOpacity
|
||||
style={styles.ctrl}
|
||||
onPress={onPress}
|
||||
onPress={onLongPress ? onPress : undefined}
|
||||
onPressIn={onLongPress ? undefined : onPress}
|
||||
onLongPress={onLongPress}>
|
||||
{notificationCount ? (
|
||||
<View style={styles.ctrlCount}>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue