From ae5907e6b3c557f346a6964904ad8a88b5c57cf2 Mon Sep 17 00:00:00 2001 From: rebelonion <87634197+rebelonion@users.noreply.github.com> Date: Sat, 6 Apr 2024 00:57:33 -0500 Subject: [PATCH] fix: correct updater for alpha --- app/src/google/java/ani/dantotsu/others/AppUpdater.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/src/google/java/ani/dantotsu/others/AppUpdater.kt b/app/src/google/java/ani/dantotsu/others/AppUpdater.kt index 456992bc..3b952fb9 100644 --- a/app/src/google/java/ani/dantotsu/others/AppUpdater.kt +++ b/app/src/google/java/ani/dantotsu/others/AppUpdater.kt @@ -126,8 +126,7 @@ object AppUpdater { } private fun compareVersion(version: String): Boolean { - - if (BuildConfig.DEBUG) { + if (BuildConfig.BUILD_TYPE == "debug" || BuildConfig.BUILD_TYPE == "alpha") { return BuildConfig.VERSION_NAME != version } else { fun toDouble(list: List): Double {