Speed up shell nav button presses

This commit is contained in:
Paul Frazee
2022-10-11 09:18:24 -05:00
parent c5f744870f
commit 47b8b93c2c
+2 -1
View File
@@ -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}>