Skip to content

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

fix: show dialog at correct time

ammarahm-edcfcc45d1a62b
diff --git a/apps/mobile/src/components/launcher/index.js b/apps/mobile/src/components/launcher/index.js
index 4a400cb0e..97aa56332 100644
--- a/apps/mobile/src/components/launcher/index.js
+++ b/apps/mobile/src/components/launcher/index.js
@@ -131,10 +131,9 @@ const Launcher = () => {
if (await checkNeedsBackup()) return;
if (await PremiumService.getRemainingTrialDaysStatus()) return;
await useMessageStore.getState().setAnnouncement();
-
- if (!requireIntro.value) {
+ if (!requireIntro?.value) {
useMessageStore.subscribe(state => {
- let dialogs = state.announcements;
+ let dialogs = state.dialogs;
if (dialogs.length > 0) {
eSendEvent(eOpenAnnouncementDialog, dialogs[0]);
}