beta updater fix
This commit is contained in:
parent
cfe7be5cdb
commit
c75df942f2
2 changed files with 4 additions and 4 deletions
|
@ -95,8 +95,9 @@ object AppUpdater {
|
|||
|
||||
private fun compareVersion(version: String): Boolean {
|
||||
|
||||
if(BuildConfig.DEBUG)
|
||||
if(BuildConfig.DEBUG) {
|
||||
return BuildConfig.VERSION_NAME != version
|
||||
}
|
||||
else {
|
||||
fun toDouble(list: List<String>): Double {
|
||||
return list.mapIndexed { i: Int, s: String ->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue