From 04f6e1068b3b4234eb5507ad408430c48378cca9 Mon Sep 17 00:00:00 2001 From: Ammar Ahmed Date: Thu, 23 Apr 2026 10:43:07 +0500 Subject: [PATCH] mobile: fix saving incoming note in merge conflict dialog does not work --- apps/mobile/app/components/merge-conflicts/index.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/mobile/app/components/merge-conflicts/index.tsx b/apps/mobile/app/components/merge-conflicts/index.tsx index 80c50f6a4..c1003aef2 100644 --- a/apps/mobile/app/components/merge-conflicts/index.tsx +++ b/apps/mobile/app/components/merge-conflicts/index.tsx @@ -76,7 +76,9 @@ const MergeConflicts = () => { const applyChanges = async () => { const contentToSave = selectedContent; if (!contentToSave) return; - const note = await db.notes.note(contentToSave.noteId); + const note = await db.notes.note( + (content.current as UnencryptedContentItem).noteId + ); if (!note) return; await db.notes.add({ id: note.id,