Skip to content

Commit

Permalink
app: Fix MIUI bigVerision was incorrectly displayed as HyperOS
Browse files Browse the repository at this point in the history
  • Loading branch information
YuKongA committed Nov 30, 2024
1 parent 6890930 commit 1471ce7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion composeApp/src/commonMain/kotlin/misc/AppUtils.kt
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ fun handleRomInfo(
codebase = romInfo.codebase.toString(),
branch = romInfo.branch.toString(),
bigVersion = when {
romInfo.osbigversion != ".0" && romInfo.osbigversion != "0.0" -> "HyperOS " + romInfo.osbigversion
romInfo.osbigversion != ".0" && romInfo.osbigversion != "0.0" && romInfo.osbigversion != "" -> "HyperOS " + romInfo.osbigversion
romInfo.bigversion.contains("816") -> romInfo.bigversion.replace("816", "HyperOS 1.0")
else -> "MIUI ${romInfo.bigversion}"
},
Expand Down

0 comments on commit 1471ce7

Please sign in to comment.