diff --git a/app/src/main/java/com/kaajjo/libresudoku/core/update/UpdateUtil.kt b/app/src/main/java/com/kaajjo/libresudoku/core/update/UpdateUtil.kt index 2a95a66..f46612e 100644 --- a/app/src/main/java/com/kaajjo/libresudoku/core/update/UpdateUtil.kt +++ b/app/src/main/java/com/kaajjo/libresudoku/core/update/UpdateUtil.kt @@ -63,8 +63,7 @@ object UpdateUtil { } fun checkForUpdate(allowBetas: Boolean = true): Release? { - // val currentVersion = BuildConfig.VERSION_NAME.toVersion() - val currentVersion = Version.Stable(1, 4, 2) + val currentVersion = BuildConfig.VERSION_NAME.toVersion() val latestRelease = getLatestRelease(allowBetas) val latestVersion = latestRelease.name?.toVersion() ?: Version.Stable(0, 0, 0) @@ -265,4 +264,4 @@ sealed class Version( } } -private fun Context.getLatestApk() = File(getExternalFilesDir("apk"), "latest.apk") \ No newline at end of file +private fun Context.getLatestApk() = File(getExternalFilesDir("apk"), "latest.apk")