Permalink
Browse files

Use < operator instead of != when checking for updates

  • Loading branch information...
iAmGio committed Oct 22, 2018
1 parent 2c24167 commit 5e07655bd89991ff753dd8178238c943b89b6852
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/org/chorusmc/chorus/updater/Updater.kt
@@ -22,7 +22,7 @@ class Updater {
val latestVersion = parsed["tag_name"].toString()
val isUpdatePresent: Boolean
get() = "v$VERSION" != latestVersion
get() = "v$VERSION" < latestVersion
fun downloadLatest(type: Int): Pair<Status, File?> {

0 comments on commit 5e07655

Please sign in to comment.