Skip to content

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

fix: hide notebooks of note in trash

ammarahm-ed78b9ddf3db1a
diff --git a/apps/mobile/src/components/NoteItem/index.js b/apps/mobile/src/components/NoteItem/index.js
index cae474ea1..7216d89ee 100644
--- a/apps/mobile/src/components/NoteItem/index.js
+++ b/apps/mobile/src/components/NoteItem/index.js
@@ -88,7 +88,7 @@ export default class NoteItem extends React.Component {
width: '92%',
paddingRight: 5,
}}>
- {item.notebooks && item.notebooks.length > 0 && (
+ {!isTrash && item.notebooks && item.notebooks.length > 0 && (
<View
style={{
flexDirection: 'row',
@@ -189,7 +189,7 @@ export default class NoteItem extends React.Component {
size={SIZE.sm}
style={{
marginRight: 10,
- marginTop:2
+ marginTop: 2,
}}
color={colors.accent}
/>