Skip to content

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

mobile: clear logs

Ammar Ahmed875125cfe4c1
diff --git a/apps/mobile/app/components/list-items/search-result/index.tsx b/apps/mobile/app/components/list-items/search-result/index.tsx
index ac9c24373..d9965a693 100644
--- a/apps/mobile/app/components/list-items/search-result/index.tsx
+++ b/apps/mobile/app/components/list-items/search-result/index.tsx
@@ -153,7 +153,6 @@ export const SearchResult = (props: SearchResultProps) => {
for (let i = 0; i <= index; i++) {
activeIndex += props.item.content[i].length;
}
- console.log(activeIndex);
openNote(activeIndex);
}}
>
diff --git a/apps/mobile/app/components/sheet-provider/index.js b/apps/mobile/app/components/sheet-provider/index.js
index 49cacce50..4331ee156 100644
--- a/apps/mobile/app/components/sheet-provider/index.js
+++ b/apps/mobile/app/components/sheet-provider/index.js
@@ -95,8 +95,6 @@ const SheetProvider = ({ context = "global" }) => {
[context]
);
- console.log(data?.keyboardHandlerDisabled);
-
return !visible || !data ? null : (
<SheetWrapper
fwdRef={actionSheetRef}
diff --git a/apps/mobile/app/components/sheets/user/index.tsx b/apps/mobile/app/components/sheets/user/index.tsx
index 333b45623..132c6687f 100644
--- a/apps/mobile/app/components/sheets/user/index.tsx
+++ b/apps/mobile/app/components/sheets/user/index.tsx
@@ -312,7 +312,6 @@ export const UserSheet = () => {
icon: "logout",
title: strings.logout(),
onPress: async () => {
- console.log("logout");
ref.current?.hide();
await sleep(300);
logoutUser();
diff --git a/apps/mobile/app/components/ui/sheet/index.js b/apps/mobile/app/components/ui/sheet/index.js
index 009af7c57..d701026fa 100644
--- a/apps/mobile/app/components/ui/sheet/index.js
+++ b/apps/mobile/app/components/ui/sheet/index.js
@@ -64,8 +64,6 @@ const SheetWrapper = ({
const isGestureNavigationEnabled =
NotesnookModule.isGestureNavigationEnabled();
- console.log(isGestureNavigationEnabled);
-
const style = React.useMemo(() => {
return {
width: largeTablet || smallTablet ? width : "100%",
diff --git a/apps/mobile/app/screens/editor/tiptap/use-editor-events.tsx b/apps/mobile/app/screens/editor/tiptap/use-editor-events.tsx
index f008efcf6..6ef136b02 100644
--- a/apps/mobile/app/screens/editor/tiptap/use-editor-events.tsx
+++ b/apps/mobile/app/screens/editor/tiptap/use-editor-events.tsx
@@ -131,7 +131,6 @@ const showActionsheet = async () => {
.getState()
.getNoteIdForTab(useTabStore.getState().currentTab!);
if (noteId) {
- console.log("OPEN NOTE");
const note = await db.notes?.note(noteId);
Properties.present(note, false);
} else {
diff --git a/apps/mobile/app/screens/editor/tiptap/use-editor.ts b/apps/mobile/app/screens/editor/tiptap/use-editor.ts
index 42fbe7ba9..ac2c386a2 100644
--- a/apps/mobile/app/screens/editor/tiptap/use-editor.ts
+++ b/apps/mobile/app/screens/editor/tiptap/use-editor.ts
@@ -875,7 +875,6 @@ export const useEditor = (
}
lastContentChangeTime.current[note.id] = note.dateEdited;
- console.log(tab.session?.selection);
await postMessage(
NativeEvents.updatehtml,
{