Skip to content

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

fix colored notes not displayed

ammarahm-ed2353243bd631
diff --git a/apps/mobile/src/views/Notes/index.js b/apps/mobile/src/views/Notes/index.js
index 92020f9ad..1f3b7a699 100644
--- a/apps/mobile/src/views/Notes/index.js
+++ b/apps/mobile/src/views/Notes/index.js
@@ -63,13 +63,14 @@ export const Notes = ({navigation}) => {
}, []);
const init = () => {
+ console.log(params.color);
eSendEvent(eScrollEvent, 0);
if (params.type === 'tag') {
let notesInTag = db.notes.tagged(params.tag.title);
setNotes([...notesInTag]);
} else if (params.type == 'color') {
- let notesInColors = db.notes.colored(params.color.id);
+ let notesInColors = db.notes.colored(params.color.title);
setNotes([...notesInColors]);
} else {