Skip to content

Commit

Permalink
fix test data
Browse files Browse the repository at this point in the history
  • Loading branch information
kaajjo authored Nov 10, 2024
1 parent 8851ca7 commit 9b7994a
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -265,4 +264,4 @@ sealed class Version(
}
}

private fun Context.getLatestApk() = File(getExternalFilesDir("apk"), "latest.apk")
private fun Context.getLatestApk() = File(getExternalFilesDir("apk"), "latest.apk")

0 comments on commit 9b7994a

Please sign in to comment.