Skip to content

Commit

Permalink
Minor bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
therealsujitk committed Dec 17, 2020
1 parent d31f911 commit 30dea96
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
}
Expand Down

0 comments on commit 30dea96

Please sign in to comment.