fix app version check in Settings

This commit is contained in:
ammarahm-ed
2021-01-09 11:40:48 +05:00
parent 121eac228b
commit d7828230fb
2 changed files with 1 additions and 3 deletions

View File

@@ -537,8 +537,6 @@
}
}
loadAction(true);
</script>

View File

@@ -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;
}