Skip to content

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

mobile: fix color of tags border when note is colored

Ammar Ahmed4620ed0c1c00
diff --git a/apps/mobile/app/components/list-items/note/index.tsx b/apps/mobile/app/components/list-items/note/index.tsx
index 6be774183..637e99e54 100644
--- a/apps/mobile/app/components/list-items/note/index.tsx
+++ b/apps/mobile/app/components/list-items/note/index.tsx
@@ -307,7 +307,8 @@ const NoteItem = ({
backgroundColor: colors.secondary.background,
paddingHorizontal: DefaultAppStyles.GAP_SMALL / 2,
borderWidth: 0.5,
- borderColor: primaryColors.border,
+ borderColor:
+ color?.colorCode || primaryColors.border,
paddingVertical: 1
}}
>