Skip to content

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

change version to appVersion in announcement

ammarahm-ed73ea2e0a38cf
diff --git a/apps/mobile/src/provider/stores.ts b/apps/mobile/src/provider/stores.ts
index 958a4c824..ea1320f3c 100644
--- a/apps/mobile/src/provider/stores.ts
+++ b/apps/mobile/src/provider/stores.ts
@@ -418,8 +418,8 @@ async function shouldShowAnnouncement(announcement) {
platform => allowedPlatforms.indexOf(platform) > -1
);
- if (announcement.version) {
- return announcement.version === APP_VERSION;
+ if (announcement.appVersion) {
+ return announcement.appVersion === APP_VERSION;
}
if (!show) return false;