diff --git a/apps/mobile/src/components/SelectionWrapper/index.js b/apps/mobile/src/components/SelectionWrapper/index.js index 6b77bcdf1..79f870837 100644 --- a/apps/mobile/src/components/SelectionWrapper/index.js +++ b/apps/mobile/src/components/SelectionWrapper/index.js @@ -16,7 +16,7 @@ const SelectionWrapper = ({ background, onLongPress, onPress, - testID + testID, }) => { const [state, dispatch] = useTracked(); const {colors, selectionMode, selectedItemsList, currentEditingNote} = state; @@ -37,7 +37,7 @@ const SelectionWrapper = ({ } }, [selectedItemsList]); -/* const onPressPin = async () => { + /* const onPressPin = async () => { let func = async () => { if (!item.id) return; if (item.type === 'note') { @@ -78,7 +78,9 @@ const SelectionWrapper = ({ testID={testID} onLongPress={onLongPress} onPress={onPress} - customSelectedColor={currentEditingNote === item.id ? colors.accent : colors.nav} + customSelectedColor={ + currentEditingNote === item.id ? colors.accent : colors.nav + } customAlpha={!colors.night ? -0.02 : 0.02} customOpacity={currentEditingNote === item.id ? 0.15 : 1} customStyle={{ @@ -136,26 +138,26 @@ const SelectionWrapper = ({ alignItems: 'center', paddingRight: 8, }}> - { - dispatch({type: Actions.SELECTED_ITEMS, item: item}); - }} - style={{ - justifyContent: 'center', - alignItems: 'center', - height: 70, - }}> - - + {item.title !== 'General' && ( + + + + )} {children}