Skip to content

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

update defaultState

ammarahm-ed456b886a91fc
diff --git a/apps/mobile/src/provider/defaultState.js b/apps/mobile/src/provider/defaultState.js
index 458ea2e40..ff73ab467 100644
--- a/apps/mobile/src/provider/defaultState.js
+++ b/apps/mobile/src/provider/defaultState.js
@@ -51,5 +51,59 @@ export const defaultState = {
type: null,
keyword: null,
},
+ headerState: {
+ heading: 'Home',
+ canGoBack: true,
+ menu: false,
+ verticalMenu: false,
+ navigation: null,
+ headerColor: null,
+ route: {},
+ },
+ headerTextState: {
+ heading: 'Notes',
+ color: null,
+ },
+ headerVerticalMenu: true,
+ containerState: {
+ noSelectionHeader: false,
+ },
+ searchState: {
+ noSearch: false,
+ data: [],
+ type: 'notes',
+ color: null,
+ placeholder: 'Search all notes',
+ },
+ containerBottomButton: {
+ visible: true,
+ bottomButtonOnPress: () => {},
+ bottomButtonText: 'Create a new note',
+ },
+ indHeaderState: {
+ heading: 'Home',
+ canGoBack: true,
+ menu: false,
+ verticalMenu: false,
+ navigation: null,
+ headerColor: null,
+ route: {},
+ },
+ indHeaderTextState: {
+ heading: 'Notes',
+ color: null,
+ },
+ indSearchState: {
+ noSearch: false,
+ data: [],
+ type: 'notes',
+ color: null,
+ placeholder: 'Search all notes',
+ },
+ indContainerBottomButton: {
+ visible: true,
+ bottomButtonOnPress: () => {},
+ bottomButtonText: 'Create a new note',
+ },
keyword: [],
};