Speed up shell nav button presses
This commit is contained in:
@@ -79,7 +79,8 @@ const Btn = ({
|
|||||||
return (
|
return (
|
||||||
<TouchableOpacity
|
<TouchableOpacity
|
||||||
style={styles.ctrl}
|
style={styles.ctrl}
|
||||||
onPress={onPress}
|
onPress={onLongPress ? onPress : undefined}
|
||||||
|
onPressIn={onLongPress ? undefined : onPress}
|
||||||
onLongPress={onLongPress}>
|
onLongPress={onLongPress}>
|
||||||
{notificationCount ? (
|
{notificationCount ? (
|
||||||
<View style={styles.ctrlCount}>
|
<View style={styles.ctrlCount}>
|
||||||
|
|||||||
Reference in New Issue
Block a user