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 {
|
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 {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue