fix: correct updater for alpha
This commit is contained in:
parent
9f7e01a1fb
commit
ae5907e6b3
1 changed files with 1 additions and 2 deletions
|
@ -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<String>): Double {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue