Skip to content

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

mobile: fix toast message shows under the sheet in global context

Ammar Ahmed77c009e83dd1
diff --git a/apps/mobile/app/components/note-history/preview.tsx b/apps/mobile/app/components/note-history/preview.tsx
index 51911c421..a92afc887 100644
--- a/apps/mobile/app/components/note-history/preview.tsx
+++ b/apps/mobile/app/components/note-history/preview.tsx
@@ -133,7 +133,8 @@ export default function NotePreview({
}
ToastManager.show({
heading: isSession ? strings.versionDeleted() : strings.noteDeleted(),
- type: "success"
+ type: "success",
+ context: isSession ? "local" : "global"
});
return true;