mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-22 22:49:45 +01:00
fix: selection not clear on exit selectioMode
This commit is contained in:
@@ -68,6 +68,8 @@ export const SelectionHeader = ({navigation}) => {
|
||||
<TouchableOpacity
|
||||
onPress={() => {
|
||||
dispatch({type: ACTIONS.SELECTION_MODE, enabled: !selectionMode});
|
||||
|
||||
dispatch({type: ACTIONS.CLEAR_SELECTION});
|
||||
}}
|
||||
hitSlop={{top: 20, bottom: 20, left: 50, right: 40}}
|
||||
style={{
|
||||
|
||||
Reference in New Issue
Block a user