Skip to content

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

mobile: render clear-history dialog with local context

kashaf-ansari-deva94e8d685284
diff --git a/apps/mobile/app/components/note-history/index.tsx b/apps/mobile/app/components/note-history/index.tsx
index 8d840cf86..e84d99bae 100644
--- a/apps/mobile/app/components/note-history/index.tsx
+++ b/apps/mobile/app/components/note-history/index.tsx
@@ -40,6 +40,7 @@ import Seperator from "../ui/seperator";
import Paragraph from "../ui/typography/paragraph";
import NotePreview from "./preview";
import { presentDialog } from "../dialog/functions";
+import { Dialog } from "../dialog";
const HistoryItem = ({
index,
@@ -148,6 +149,7 @@ export default function NoteHistory({
return (
<View>
<SheetProvider context="note_history" />
+ <Dialog context="local" />
<DialogHeader
title={strings.noteHistory()}
padding={12}