diff options
Diffstat (limited to 'src/view/shell/mobile/index.tsx')
-rw-r--r-- | src/view/shell/mobile/index.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/view/shell/mobile/index.tsx b/src/view/shell/mobile/index.tsx index b7c13f35c..4541fd92e 100644 --- a/src/view/shell/mobile/index.tsx +++ b/src/view/shell/mobile/index.tsx @@ -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}> |