mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 06:59:31 +01:00
minor changes & cleanup
This commit is contained in:
@@ -114,8 +114,6 @@ export class AddNotebookDialog extends React.Component {
|
|||||||
setTimeout(async () => {
|
setTimeout(async () => {
|
||||||
let {topics} = this.state;
|
let {topics} = this.state;
|
||||||
let edit = this.props.toEdit;
|
let edit = this.props.toEdit;
|
||||||
|
|
||||||
console.log(this.title, "ELO");
|
|
||||||
if (!this.title || this.title.trim().length === 0)
|
if (!this.title || this.title.trim().length === 0)
|
||||||
return ToastEvent.show('Title is required', 'error', 'local');
|
return ToastEvent.show('Title is required', 'error', 'local');
|
||||||
|
|
||||||
|
|||||||
@@ -16,6 +16,7 @@ export const defaultState = {
|
|||||||
tags: [],
|
tags: [],
|
||||||
colorNotes: [],
|
colorNotes: [],
|
||||||
user: {},
|
user: {},
|
||||||
|
premiumUser:false,
|
||||||
settings: {
|
settings: {
|
||||||
showToolbarOnTop: false,
|
showToolbarOnTop: false,
|
||||||
showKeyboardOnOpen: false,
|
showKeyboardOnOpen: false,
|
||||||
|
|||||||
@@ -77,3 +77,7 @@ export const eSwitchNightMode = '537';
|
|||||||
export const eStartSyncer = '538';
|
export const eStartSyncer = '538';
|
||||||
|
|
||||||
export const eSetModalNavigator = '539'
|
export const eSetModalNavigator = '539'
|
||||||
|
|
||||||
|
export const eOpenPremiumDialog = '540'
|
||||||
|
|
||||||
|
export const eClosePremiumDialog = '541'
|
||||||
Reference in New Issue
Block a user