Fix MIUI developer version identify problem in FunctionFactory

This commit is contained in:
2023-01-27 23:53:36 +08:00
parent 1dd5a899f2
commit baea7847c8

View File

@@ -179,7 +179,10 @@ val miuiFullVersion
get() = if (isMIUI) miuiIncrementalVersion.let {
if (it.lowercase().endsWith(".dev").not() && it.lowercase().any { e -> e.code in 97..122 })
"$it 稳定版"
else "V$miuiVersion $it 开发版"
else when {
it.lowercase().endsWith(".dev") -> "$it 开发版"
else -> "V$miuiVersion $it 开发版"
}
} else "不是 MIUI 系统"
/**