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
mobile: fix note search
Ammar Ahmed3e4862d768f3
diff --git a/apps/mobile/app/components/sheets/link-note/index.tsx b/apps/mobile/app/components/sheets/link-note/index.tsxindex 9f0ab36d5..7248ce8fc 100644--- a/apps/mobile/app/components/sheets/link-note/index.tsx+++ b/apps/mobile/app/components/sheets/link-note/index.tsx@@ -283,7 +283,14 @@ export default function LinkNote(props: {width: "100%"}}>- <Paragraph numberOfLines={1}>{selectedNote?.title}</Paragraph>+ <Paragraph+ style={{+ flexShrink: 1+ }}+ numberOfLines={1}+ >+ {selectedNote?.title}+ </Paragraph><Paragraphcolor={colors.secondary.paragraph}diff --git a/apps/mobile/app/screens/move-notes/index.tsx b/apps/mobile/app/screens/move-notes/index.tsxindex b2b649b03..5de830839 100644--- a/apps/mobile/app/screens/move-notes/index.tsx+++ b/apps/mobile/app/screens/move-notes/index.tsx@@ -248,7 +248,13 @@ const SelectableNoteItem = React.memo(flexGrow: 1}}>- <Heading size={AppFontSize.sm} numberOfLines={1}>+ <Heading+ size={AppFontSize.sm}+ numberOfLines={1}+ style={{+ maxWidth: "93%"+ }}+ >{item?.title}</Heading>{item.type == "note" && item.headline ? (@@ -256,6 +262,9 @@ const SelectableNoteItem = React.memo(numberOfLines={1}color={colors?.secondary.paragraph}size={AppFontSize.sm}+ style={{+ maxWidth: "93%"+ }}>{item.headline}</Paragraph>diff --git a/apps/mobile/app/screens/search/index.tsx b/apps/mobile/app/screens/search/index.tsxindex c63c24674..e8845c3af 100644--- a/apps/mobile/app/screens/search/index.tsx+++ b/apps/mobile/app/screens/search/index.tsx@@ -65,7 +65,7 @@ export const Search = ({ route, navigation }: NavigationProps<"Search">) => {const groupOptions = db.settings.getGroupOptions("search");switch (route.params.type) {case "note":- results = await db.lookup.notes(+ results = await db.lookup.notesWithHighlighting(query,groupOptions,route.params.items as FilteredSelector<Note>