beta updater fix

This commit is contained in:
Finnley Somdahl 2023-11-04 02:05:21 -05:00
parent cfe7be5cdb
commit c75df942f2
2 changed files with 4 additions and 4 deletions

View file

@ -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 ->