diff --git a/apps/mobile/src/components/SelectionWrapper/index.js b/apps/mobile/src/components/SelectionWrapper/index.js index 7b8b7ab68..f2d98ee85 100644 --- a/apps/mobile/src/components/SelectionWrapper/index.js +++ b/apps/mobile/src/components/SelectionWrapper/index.js @@ -3,11 +3,12 @@ import {TouchableOpacity, View} from 'react-native'; import Icon from 'react-native-vector-icons/MaterialCommunityIcons'; import {useTracked} from '../../provider'; import {Actions} from '../../provider/Actions'; +import {ToastEvent} from '../../services/EventManager'; import {getElevation} from '../../utils'; +import {COLORS_NOTE} from '../../utils/Colors'; +import {db} from '../../utils/DB'; +import {SIZE} from '../../utils/SizeUtils'; import {PressableButton} from '../PressableButton'; -import {ToastEvent} from "../../services/EventManager"; -import {SIZE} from "../../utils/SizeUtils"; -import {db} from "../../utils/DB"; const SelectionWrapper = ({ children, @@ -15,8 +16,8 @@ const SelectionWrapper = ({ currentEditingNote, index, background, - pinned, onLongPress, + onPress, }) => { const [state, dispatch] = useTracked(); @@ -68,21 +69,19 @@ const SelectionWrapper = ({ return ( - {pinned ? ( + {/* {item.pinned ? ( - ) : null} + ) : null} */}