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: show readonly icon on note item
Ammar Ahmedbe41cf12527c
diff --git a/apps/mobile/app/components/list-items/note/index.tsx b/apps/mobile/app/components/list-items/note/index.tsxindex b78f1e96c..f7b586318 100644--- a/apps/mobile/app/components/list-items/note/index.tsx+++ b/apps/mobile/app/components/list-items/note/index.tsx@@ -216,7 +216,19 @@ const NoteItem = ({<IcontestID="sync-off"name="sync-off"- size={SIZE.md}+ size={SIZE.sm}+ style={{+ marginRight: 6+ }}+ color={primaryColors.icon}+ />+ ) : null}++ {item.readonly ? (+ <Icon+ testID="pencil-lock"+ name="pencil-lock"+ size={SIZE.sm}style={{marginRight: 6}}@@ -239,12 +251,13 @@ const NoteItem = ({style={{flexDirection: "row",alignItems: "center",- marginRight: 6+ marginRight: 6,+ gap: 2}}><Iconname="attachment"- size={SIZE.md}+ size={SIZE.sm}color={primaryColors.icon}/><Paragraph@@ -284,7 +297,7 @@ const NoteItem = ({<IcontestID="icon-star"name="star-outline"- size={SIZE.md}+ size={SIZE.sm}style={{marginRight: 6}}@@ -301,7 +314,8 @@ const NoteItem = ({height={23}type="plain"textStyle={{- textDecorationLine: "underline"+ textDecorationLine: "underline",+ color: colors.secondary.paragraph}}hitSlop={{ top: 8, bottom: 12, left: 0, right: 0 }}fontSize={SIZE.xs}@@ -383,7 +397,7 @@ const NoteItem = ({<IcontestID="icon-star"name="star-outline"- size={SIZE.md}+ size={SIZE.sm}style={{marginRight: 6}}