fix: correct updater for alpha

This commit is contained in:
rebelonion 2024-04-06 00:57:33 -05:00
parent 9f7e01a1fb
commit ae5907e6b3

View file

@ -126,8 +126,7 @@ object AppUpdater {
} }
private fun compareVersion(version: String): Boolean { private fun compareVersion(version: String): Boolean {
if (BuildConfig.BUILD_TYPE == "debug" || BuildConfig.BUILD_TYPE == "alpha") {
if (BuildConfig.DEBUG) {
return BuildConfig.VERSION_NAME != version return BuildConfig.VERSION_NAME != version
} else { } else {
fun toDouble(list: List<String>): Double { fun toDouble(list: List<String>): Double {