Skip to content

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

allow back gesture when needed only

ammarahm-ed8a3be5208603
diff --git a/apps/mobile/src/views/Notes/index.js b/apps/mobile/src/views/Notes/index.js
index ab528ab2f..096d3c818 100644
--- a/apps/mobile/src/views/Notes/index.js
+++ b/apps/mobile/src/views/Notes/index.js
@@ -60,6 +60,15 @@ export const Notes = ({route, navigation}) => {
if (data) {
params = data;
}
+ if (route.params.menu) {
+ navigation.setOptions({
+ animationEnabled:false
+ })
+ } else {
+ navigation.setOptions({
+ animationEnabled:true
+ })
+ }
let allNotes = [];
if (params.type === 'tag') {
allNotes = db.notes.tagged(params.tag.id);