Skip to content

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

mobile: do not auto fill auto generated title when user clears title field in editor (#9623)

SahilAslam001e736e3d81002
diff --git a/apps/mobile/app/screens/editor/tiptap/use-editor.ts b/apps/mobile/app/screens/editor/tiptap/use-editor.ts
index 030c03534..de5696e10 100644
--- a/apps/mobile/app/screens/editor/tiptap/use-editor.ts
+++ b/apps/mobile/app/screens/editor/tiptap/use-editor.ts
@@ -388,7 +388,7 @@ export const useEditor = (
if (
oldNote?.title !== currentNotes.current[id]?.title &&
- !noteData.title
+ typeof noteData.title === "undefined"
) {
postMessage(
NativeEvents.title,