Skip to content

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

minor changes & cleanup

ammarahm-ed4de8506048d9
diff --git a/apps/mobile/src/components/AddNotebookDialog/index.js b/apps/mobile/src/components/AddNotebookDialog/index.js
index 6bdae9ebd..6bd8b3010 100644
--- a/apps/mobile/src/components/AddNotebookDialog/index.js
+++ b/apps/mobile/src/components/AddNotebookDialog/index.js
@@ -114,8 +114,6 @@ export class AddNotebookDialog extends React.Component {
setTimeout(async () => {
let {topics} = this.state;
let edit = this.props.toEdit;
-
- console.log(this.title, "ELO");
if (!this.title || this.title.trim().length === 0)
return ToastEvent.show('Title is required', 'error', 'local');
diff --git a/apps/mobile/src/provider/defaultState.js b/apps/mobile/src/provider/defaultState.js
index ff73ab467..3ea6ef7e5 100644
--- a/apps/mobile/src/provider/defaultState.js
+++ b/apps/mobile/src/provider/defaultState.js
@@ -16,6 +16,7 @@ export const defaultState = {
tags: [],
colorNotes: [],
user: {},
+ premiumUser:false,
settings: {
showToolbarOnTop: false,
showKeyboardOnOpen: false,
diff --git a/apps/mobile/src/services/events.js b/apps/mobile/src/services/events.js
index f1bf9ff6f..6650e2742 100644
--- a/apps/mobile/src/services/events.js
+++ b/apps/mobile/src/services/events.js
@@ -77,3 +77,7 @@ export const eSwitchNightMode = '537';
export const eStartSyncer = '538';
export const eSetModalNavigator = '539'
+
+export const eOpenPremiumDialog = '540'
+
+export const eClosePremiumDialog = '541'
\ No newline at end of file