Skip to content

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

fix header state in folders

ammarahm-ede3ef1a06d6d8
diff --git a/apps/mobile/src/views/Folders/index.js b/apps/mobile/src/views/Folders/index.js
index 2524b3383..420f18cd3 100644
--- a/apps/mobile/src/views/Folders/index.js
+++ b/apps/mobile/src/views/Folders/index.js
@@ -21,8 +21,8 @@ export const Folders = ({route, navigation}) => {
type: ACTIONS.HEADER_STATE,
state: {
type: 'notebooks',
- menu: !params.canGoBack,
- canGoBack: params.canGoBack,
+ menu: true,
+ canGoBack: false,
route: route,
color: null,
navigation: navigation,
@@ -61,7 +61,7 @@ export const Folders = ({route, navigation}) => {
dispatch({
type: ACTIONS.SEARCH_STATE,
state: {
- placeholder:'Search all notebooks',
+ placeholder: 'Search all notebooks',
data: notebooks,
noSearch: false,
type: 'notebooks',