diff --git a/app/src/main/java/tk/therealsuji/vtopchennai/LoginActivity.java b/app/src/main/java/tk/therealsuji/vtopchennai/LoginActivity.java index 561ccf7a..0551af84 100644 --- a/app/src/main/java/tk/therealsuji/vtopchennai/LoginActivity.java +++ b/app/src/main/java/tk/therealsuji/vtopchennai/LoginActivity.java @@ -91,7 +91,7 @@ public boolean onTouch(View view, MotionEvent motionEvent) { int versionCode = BuildConfig.VERSION_CODE; String latestVersion = sharedPreferences.getString("versionCode", Integer.toString(versionCode)); - if (versionCode <= Integer.parseInt(latestVersion)) { + if (versionCode < Integer.parseInt(latestVersion)) { Toast.makeText(this, "Please download the latest version from http://bit.ly/vtopchn", Toast.LENGTH_LONG).show(); } }