3 Commits

Author SHA1 Message Date
30fdbdbcb2 refactor: support monochrome app icon (round) 2025-09-06 22:48:11 +08:00
1675e28ca7 chore: bump dependencies 2025-09-06 22:48:01 +08:00
李太白
62a40b706d feat: 新增对HyperOS 3.0和Android 16的支持 (#244) 2025-09-06 18:28:39 +08:00
3 changed files with 8 additions and 6 deletions

View File

@@ -178,7 +178,7 @@ inline val isNotMIOS get() = !isMIOS
val isSupportMiSystemVersion
get() = when {
isMIOS -> when (miosVersion) {
"1.0", "1.1", "2.0" -> true
"1.0", "1.1", "2.0" , "3.0"-> true
else -> false
}
isMIUI -> when (miuiVersion) {
@@ -200,6 +200,7 @@ inline val isNotSupportMiSystemVersion get() = !isSupportMiSystemVersion
*/
val androidVersionCodeName
get() = when (Build.VERSION.SDK_INT) {
36 -> "W"
35 -> "V"
34 -> "U"
33 -> "T"

View File

@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/ic_launcher_background"/>
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
<background android:drawable="@color/ic_launcher_background" />
<foreground android:drawable="@mipmap/ic_launcher_foreground" />
<monochrome android:drawable="@mipmap/ic_launcher_foreground" />
</adaptive-icon>

View File

@@ -22,7 +22,7 @@ repositories:
plugins:
com.android.application:
alias: android-application
version: 8.12.1
version: 8.13.0
org.jetbrains.kotlin.android:
alias: kotlin-android
version: 2.2.10
@@ -33,7 +33,7 @@ plugins:
libraries:
com.fankes.projectpromote:
project-promote:
version: 1.0.0
version: 1.0.1
repositories:
fankes-maven-releases
de.robv.android.xposed:
@@ -69,7 +69,7 @@ libraries:
version: 1.7.1
com.google.android.material:
material:
version: 1.12.0
version: 1.13.0
androidx.constraintlayout:
constraintlayout:
version: 2.2.1