Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

mobile: show sync disabled icon on note

Ammar Ahmed988efa457751
diff --git a/apps/mobile/app/components/list-items/note/index.tsx b/apps/mobile/app/components/list-items/note/index.tsx
index 180f25bef..b78f1e96c 100644
--- a/apps/mobile/app/components/list-items/note/index.tsx
+++ b/apps/mobile/app/components/list-items/note/index.tsx
@@ -211,6 +211,19 @@ const NoteItem = ({
color={colors.error.accent}
/>
) : null}
+
+ {item.localOnly ? (
+ <Icon
+ testID="sync-off"
+ name="sync-off"
+ size={SIZE.md}
+ style={{
+ marginRight: 6
+ }}
+ color={primaryColors.icon}
+ />
+ ) : null}
+
<TimeSince
style={{
fontSize: SIZE.xs,