From f88a3daa894195ae8088fa366e9b45aca9fccf49 Mon Sep 17 00:00:00 2001 From: ammarahm-ed Date: Thu, 31 Dec 2020 11:54:19 +0500 Subject: [PATCH] add indicator for pinned note --- apps/mobile/src/components/NoteItem/index.js | 22 ++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/apps/mobile/src/components/NoteItem/index.js b/apps/mobile/src/components/NoteItem/index.js index e95a018ed..b37ca2878 100644 --- a/apps/mobile/src/components/NoteItem/index.js +++ b/apps/mobile/src/components/NoteItem/index.js @@ -66,7 +66,6 @@ export default class NoteItem extends React.Component { }; render() { - let {colors, item, customStyle, isTrash} = this.props; return ( ) : null} + {item.pinned ? ( + + ) : null} + {item.favorite ? (