Skip to content

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

fix app version check in Settings

ammarahm-edd7828230fb05
diff --git a/apps/mobile/android/app/src/main/assets/texteditor.html b/apps/mobile/android/app/src/main/assets/texteditor.html
index 848a6b133..5fe532329 100644
--- a/apps/mobile/android/app/src/main/assets/texteditor.html
+++ b/apps/mobile/android/app/src/main/assets/texteditor.html
@@ -537,8 +537,6 @@
}
}
-
- loadAction(true);
</script>
diff --git a/apps/mobile/src/views/Settings/index.js b/apps/mobile/src/views/Settings/index.js
index 1f8fef4b0..7cddbe83c 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;
}