Skip to content

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

mobile: add missing context prop in dialog

kashaf-ansari-devf6c31d19d8f6
diff --git a/apps/mobile/app/components/note-history/index.tsx b/apps/mobile/app/components/note-history/index.tsx
index e84d99bae..92a3c7c55 100644
--- a/apps/mobile/app/components/note-history/index.tsx
+++ b/apps/mobile/app/components/note-history/index.tsx
@@ -165,6 +165,7 @@ export default function NoteHistory({
positiveText: strings.clear(),
negativeText: strings.cancel(),
positiveType: "errorShade",
+ context: "local",
positivePress: async () => {
await db.noteHistory.clearSessions(note.id);
fwdRef.current?.hide();