A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
allow selection of 'General' topic
ammarahm-ed85df0f2dfcac
diff --git a/apps/mobile/src/components/SelectionWrapper/index.js b/apps/mobile/src/components/SelectionWrapper/index.jsindex d90dbfbaf..78f37746c 100644--- a/apps/mobile/src/components/SelectionWrapper/index.js+++ b/apps/mobile/src/components/SelectionWrapper/index.js@@ -26,7 +26,6 @@ const SelectionWrapper = ({const _onLongPress = () => {if (history.selectedItemsList.length > 0 ) return;- if (item.type === 'topic' && item.title === 'General') return;setActionStrip(!actionStrip);};diff --git a/apps/mobile/src/components/SelectionWrapper/selection.js b/apps/mobile/src/components/SelectionWrapper/selection.jsindex 145ff1b3f..52e8bdb57 100644--- a/apps/mobile/src/components/SelectionWrapper/selection.js+++ b/apps/mobile/src/components/SelectionWrapper/selection.js@@ -32,7 +32,6 @@ export const SelectionIcon = ({setActionStrip, item}) => {}, [selectedItemsList, item.id]);onPress = () => {- if (item.title === 'General' && item.type === 'topic') return;dispatch({type: Actions.SELECTED_ITEMS,item: item,@@ -51,9 +50,7 @@ export const SelectionIcon = ({setActionStrip, item}) => {alignItems: 'center',paddingRight: 8,}}>- {item.type !== 'topic' ||- (item.type === 'topic' && item.title !== 'General') ? (- <TouchableOpacity+ <TouchableOpacityactiveOpacity={1}onPress={onPress}style={{@@ -71,7 +68,6 @@ export const SelectionIcon = ({setActionStrip, item}) => {}/></TouchableOpacity>- ) : null}</View>));