mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-09-03 04:31:46 +02:00
fix app version check in Settings
This commit is contained in:
@@ -537,8 +537,6 @@
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
loadAction(true);
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user