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
locked not should not show in search in share menu
ammarahm-edcab0ec8b7544
diff --git a/apps/mobile/share/search.js b/apps/mobile/share/search.jsindex 12ad6ff63..b74da47fe 100644--- a/apps/mobile/share/search.js+++ b/apps/mobile/share/search.js@@ -32,6 +32,9 @@ export const Search = ({close, getKeyboardHeight, quicknote}) => {: useSafeAreaInsets();const onSelectItem = async item => {+ if (item.locked) {+ return;+ }setAppendNote(item);close();};@@ -70,7 +73,7 @@ export const Search = ({close, getKeyboardHeight, quicknote}) => {}, 300);}, []);- const renderItem = ({item, index}) => (+ const renderItem = ({item, index}) => !item.locked ? (<TouchableOpacityactiveOpacity={0.7}onPress={() => onSelectItem(item)}@@ -98,7 +101,7 @@ export const Search = ({close, getKeyboardHeight, quicknote}) => {{item.headline}</Text></TouchableOpacity>- );+ ) : nulllet extra = quicknote? {