Skip to content

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

do not navigate back from topics page

ammarahm-ed37da8834fc46
diff --git a/apps/mobile/src/views/Notes/index.js b/apps/mobile/src/views/Notes/index.js
index b3cc45be1..095261e39 100644
--- a/apps/mobile/src/views/Notes/index.js
+++ b/apps/mobile/src/views/Notes/index.js
@@ -85,7 +85,10 @@ export const Notes = ({route, navigation}) => {
.topics.topic(params.title).all;
}
- if (!allNotes || allNotes.length === 0) {
+ if (
+ (params.type === 'tag' || params.type === 'color') &&
+ (!allNotes || allNotes.length === 0)
+ ) {
Navigation.goBack();
}