Skip to content

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

update

ammarahm-ed81668a686001
diff --git a/apps/mobile/App.js b/apps/mobile/App.js
index ba2b7db3c..0aa1df336 100644
--- a/apps/mobile/App.js
+++ b/apps/mobile/App.js
@@ -332,7 +332,7 @@ const App = () => {
db.version()
.then((ver) => {
console.log(ver,'version');
- if (ver.mobile > APP_VERSION - 1) {
+ if (ver.mobile > APP_VERSION) {
eSendEvent('updateDialog', ver);
}
})
diff --git a/apps/mobile/src/views/Settings/index.js b/apps/mobile/src/views/Settings/index.js
index 5c55c4992..e881077dd 100644
--- a/apps/mobile/src/views/Settings/index.js
+++ b/apps/mobile/src/views/Settings/index.js
@@ -149,7 +149,7 @@ export const Settings = ({navigation}) => {
{
name: 'Check for updates',
func: async () => {
- if (version?.mobile === APP_VERSION - 1) {
+ if (version?.mobile === APP_VERSION) {
ToastEvent.show('You are using the latest version', 'success');
return;
}