Skip to content

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

remove bottom border if item is pinned

ammarahm-ed3838cc6d5039
diff --git a/apps/mobile/src/components/NoteItem/index.js b/apps/mobile/src/components/NoteItem/index.js
index 77410d4c0..5ade0aeee 100644
--- a/apps/mobile/src/components/NoteItem/index.js
+++ b/apps/mobile/src/components/NoteItem/index.js
@@ -64,7 +64,7 @@ export default class NoteItem extends React.Component {
alignSelf: 'center',
borderBottomWidth: 1,
height: 100,
- borderBottomColor: colors.nav,
+ borderBottomColor:item.pinned? 'transparent': colors.nav,
},
customStyle ? customStyle : {},
]}>
diff --git a/apps/mobile/src/components/NotebookItem/index.js b/apps/mobile/src/components/NotebookItem/index.js
index f72201d42..cb9fd3c0e 100644
--- a/apps/mobile/src/components/NotebookItem/index.js
+++ b/apps/mobile/src/components/NotebookItem/index.js
@@ -30,7 +30,7 @@ export const NotebookItem = ({
paddingRight: 6,
alignSelf: 'center',
borderBottomWidth: 1,
- borderBottomColor: colors.nav,
+ borderBottomColor:item.pinned? 'transparent': colors.nav,
width: '100%',
},
customStyle,