mirror of
https://github.com/rebelonion/Dantotsu.git
synced 2026-01-19 04:23:57 +00:00
fix: correct updater for alpha
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user