Skip to content

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

cleanup

ammarahm-ed132996c155e5
diff --git a/apps/mobile/src/components/SimpleList/index.js b/apps/mobile/src/components/SimpleList/index.js
index c2c84e19a..0e65fa6f7 100644
--- a/apps/mobile/src/components/SimpleList/index.js
+++ b/apps/mobile/src/components/SimpleList/index.js
@@ -42,9 +42,6 @@ const RenderItem = ({item, index,...restArgs}) => {
};
})
.filter(t => t !== null) || [];
- if (index == 0) {
- console.log(restArgs);
- }
return <Item item={item} tags={tags} index={index} {...restArgs} />;
};
diff --git a/apps/mobile/src/components/SimpleList/sectionheader.js b/apps/mobile/src/components/SimpleList/sectionheader.js
index a2531d1d1..30701f64c 100644
--- a/apps/mobile/src/components/SimpleList/sectionheader.js
+++ b/apps/mobile/src/components/SimpleList/sectionheader.js
@@ -39,7 +39,6 @@ export const SectionHeader = ({item, index, type, color, screen}) => {
: groupBy.slice(0, 1).toUpperCase() + groupBy.slice(1, groupBy.length);
const onUpdate = () => {
- console.log(groupOptions);
setGroupOptions({...db.settings?.getGroupOptions(type)});
};
diff --git a/apps/mobile/src/provider/stores.ts b/apps/mobile/src/provider/stores.ts
index 37a463323..b2786cf3a 100644
--- a/apps/mobile/src/provider/stores.ts
+++ b/apps/mobile/src/provider/stores.ts
@@ -374,7 +374,6 @@ export const useMessageStore = create<MessageStore>((set, get) => ({
set({announcements: []});
} finally {
let all = await getFiltered(announcements);
- console.log("all", all)
set({
announcements: all.filter(a => a.type === 'inline'),
dialogs: all.filter(a => a.type === 'dialog')
diff --git a/apps/mobile/src/services/Navigation.js b/apps/mobile/src/services/Navigation.js
index e1060f2ac..2fad18a11 100755
--- a/apps/mobile/src/services/Navigation.js
+++ b/apps/mobile/src/services/Navigation.js
@@ -64,14 +64,11 @@ function routeNeedsUpdate(routeName, callback) {
* @param {array} routes
*/
function setRoutesToUpdate(routes) {
- console.log(currentScreen, 'current');
if (routes.indexOf(currentScreen) > -1) {
- console.log('updating screen', currentScreen);
if (
currentScreen === routeNames.NotesPage ||
currentScreen === routeNames.Notebook
) {
- console.log(currentScreen, 'CURRENT');
eSendEvent(
currentScreen === routeNames.NotesPage
? refreshNotesPage
diff --git a/apps/mobile/src/views/Editor/Functions.js b/apps/mobile/src/views/Editor/Functions.js
index 7b1fa897a..10eb89886 100644
--- a/apps/mobile/src/views/Editor/Functions.js
+++ b/apps/mobile/src/views/Editor/Functions.js
@@ -552,7 +552,7 @@ export const _onMessage = async evt => {
return;
}
if (!id) return;
- console.log('content not loaded', content.data);
+ console.log('content not loaded');
if (message.value) {
console.log('reloading');
await loadNoteInEditor();