Skip to content

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

update version to 1.2.0

ammarahm-ed94a79667376f
diff --git a/apps/mobile/src/utils/index.js b/apps/mobile/src/utils/index.js
index 267280e4e..223e39c9e 100755
--- a/apps/mobile/src/utils/index.js
+++ b/apps/mobile/src/utils/index.js
@@ -11,7 +11,7 @@ import {SIZE} from './SizeUtils';
import RNTooltips from 'react-native-tooltips';
import {tabBarRef} from './Refs';
-export const APP_VERSION = 1100
+export const APP_VERSION = 1200
export async function setSetting(settings, name, value) {
let s = {...settings};
diff --git a/apps/mobile/src/views/Settings/index.js b/apps/mobile/src/views/Settings/index.js
index 1f8fef4b0..9d14b482c 100644
--- a/apps/mobile/src/views/Settings/index.js
+++ b/apps/mobile/src/views/Settings/index.js
@@ -148,7 +148,7 @@ export const Settings = ({navigation}) => {
{
name: 'Check for updates',
func: async () => {
- if (version?.mobile === APP_VERSION) {
+ if (version?.mobile <= APP_VERSION) {
ToastEvent.show('You are using the latest version', 'success');
return;
}