A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
fix colors api link
ammarahm-ed9b7ed7cca78c
diff --git a/apps/mobile/src/components/Dialog/index.js b/apps/mobile/src/components/Dialog/index.jsindex 79f3d36b2..817eb14fc 100644--- a/apps/mobile/src/components/Dialog/index.js+++ b/apps/mobile/src/components/Dialog/index.js@@ -35,7 +35,6 @@ export class Dialog extends Component {history.selectedItemsList.forEach(async i => {if (i.type === 'note') {- console.log(i.id);await db.notes.delete(i.id);ToastEvent.show('Notes moved to trash', 'error');updateEvent({type: i.type});@@ -134,7 +133,6 @@ export class Dialog extends Component {};show = () => {- console.log(history.selectedItemsList.length, 'length');this.setState({visible: true,selectedItemsLength: history.selectedItemsList.length,diff --git a/apps/mobile/src/components/Menu/index.js b/apps/mobile/src/components/Menu/index.jsindex a28c9ac76..9aa6697c0 100644--- a/apps/mobile/src/components/Menu/index.js+++ b/apps/mobile/src/components/Menu/index.js@@ -408,7 +408,7 @@ export const Menu = ({paddingHorizontal: 2,textAlign: 'center',}}>- {item.count > 99 ? '99+' : item.count}+ {item.noteIds.length > 99 ? '99+' : item.noteIds.length}</Text></View></TouchableOpacity>diff --git a/apps/mobile/src/components/SelectionHeader/index.js b/apps/mobile/src/components/SelectionHeader/index.jsindex 588037e29..c834c7829 100644--- a/apps/mobile/src/components/SelectionHeader/index.js+++ b/apps/mobile/src/components/SelectionHeader/index.js@@ -16,10 +16,7 @@ export const SelectionHeader = () => {const {colors, selectionMode, selectedItemsList, currentScreen} = state;const [selectAll, setSelectAll] = useState(false);- useEffect(() => {- console.log(selection.data, selection.type);- console.log(currentScreen);- }, [currentScreen]);+ useEffect(() => {}, [currentScreen]);return (<Animatable.View@@ -177,7 +174,6 @@ export const SelectionHeader = () => {await db.trash.restore(...noteIds);- console.log(noteIds);dispatch({type: ACTIONS.TRASH});dispatch({type: ACTIONS.SELECTION_MODE, enabled: false});dispatch({type: ACTIONS.CLEAR_SELECTION});diff --git a/apps/mobile/src/components/SideMenu/index.js b/apps/mobile/src/components/SideMenu/index.jsindex 01b5dbaab..85ffddafc 100644--- a/apps/mobile/src/components/SideMenu/index.js+++ b/apps/mobile/src/components/SideMenu/index.js@@ -239,7 +239,6 @@ export default class SideMenu extends React.Component {}handleMoveShouldSetPanResponder = (e, gestureState) => {- console.log(gestures.enabled);if (gestures.enabled) {const x = Math.round(Math.abs(gestureState.dx));const y = Math.round(Math.abs(gestureState.dy));diff --git a/apps/mobile/src/provider/reducer.js b/apps/mobile/src/provider/reducer.jsindex a52ae9331..5044fae96 100644--- a/apps/mobile/src/provider/reducer.js+++ b/apps/mobile/src/provider/reducer.js@@ -116,8 +116,6 @@ export const reducer = (state, action) => {};}case ACTIONS.SELECT_ALL: {- console.log(action.selected);-return {...state,selectedItemsList: action.selected,diff --git a/apps/mobile/src/views/Editor/index.js b/apps/mobile/src/views/Editor/index.jsindex da9ba26b9..f4560c8ca 100755--- a/apps/mobile/src/views/Editor/index.js+++ b/apps/mobile/src/views/Editor/index.js@@ -202,7 +202,7 @@ const Editor = ({noMenu}) => {const saveNote = async (lockNote = true) => {if (!canSave) return;- console.log('reaching here and making shit ton.');+if (!title && !content) return;if (title &&