mirror of
https://github.com/fankes/MIUINativeNotifyIcon.git
synced 2025-09-08 19:44:14 +08:00
Compare commits
3 Commits
3e29a70969
...
master
Author | SHA1 | Date | |
---|---|---|---|
30fdbdbcb2
|
|||
1675e28ca7
|
|||
|
62a40b706d |
@@ -178,7 +178,7 @@ inline val isNotMIOS get() = !isMIOS
|
|||||||
val isSupportMiSystemVersion
|
val isSupportMiSystemVersion
|
||||||
get() = when {
|
get() = when {
|
||||||
isMIOS -> when (miosVersion) {
|
isMIOS -> when (miosVersion) {
|
||||||
"1.0", "1.1", "2.0" -> true
|
"1.0", "1.1", "2.0" , "3.0"-> true
|
||||||
else -> false
|
else -> false
|
||||||
}
|
}
|
||||||
isMIUI -> when (miuiVersion) {
|
isMIUI -> when (miuiVersion) {
|
||||||
@@ -200,6 +200,7 @@ inline val isNotSupportMiSystemVersion get() = !isSupportMiSystemVersion
|
|||||||
*/
|
*/
|
||||||
val androidVersionCodeName
|
val androidVersionCodeName
|
||||||
get() = when (Build.VERSION.SDK_INT) {
|
get() = when (Build.VERSION.SDK_INT) {
|
||||||
|
36 -> "W"
|
||||||
35 -> "V"
|
35 -> "V"
|
||||||
34 -> "U"
|
34 -> "U"
|
||||||
33 -> "T"
|
33 -> "T"
|
||||||
|
@@ -1,5 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
<background android:drawable="@color/ic_launcher_background"/>
|
<background android:drawable="@color/ic_launcher_background" />
|
||||||
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
|
<foreground android:drawable="@mipmap/ic_launcher_foreground" />
|
||||||
|
<monochrome android:drawable="@mipmap/ic_launcher_foreground" />
|
||||||
</adaptive-icon>
|
</adaptive-icon>
|
@@ -22,7 +22,7 @@ repositories:
|
|||||||
plugins:
|
plugins:
|
||||||
com.android.application:
|
com.android.application:
|
||||||
alias: android-application
|
alias: android-application
|
||||||
version: 8.12.1
|
version: 8.13.0
|
||||||
org.jetbrains.kotlin.android:
|
org.jetbrains.kotlin.android:
|
||||||
alias: kotlin-android
|
alias: kotlin-android
|
||||||
version: 2.2.10
|
version: 2.2.10
|
||||||
@@ -33,7 +33,7 @@ plugins:
|
|||||||
libraries:
|
libraries:
|
||||||
com.fankes.projectpromote:
|
com.fankes.projectpromote:
|
||||||
project-promote:
|
project-promote:
|
||||||
version: 1.0.0
|
version: 1.0.1
|
||||||
repositories:
|
repositories:
|
||||||
fankes-maven-releases
|
fankes-maven-releases
|
||||||
de.robv.android.xposed:
|
de.robv.android.xposed:
|
||||||
@@ -69,7 +69,7 @@ libraries:
|
|||||||
version: 1.7.1
|
version: 1.7.1
|
||||||
com.google.android.material:
|
com.google.android.material:
|
||||||
material:
|
material:
|
||||||
version: 1.12.0
|
version: 1.13.0
|
||||||
androidx.constraintlayout:
|
androidx.constraintlayout:
|
||||||
constraintlayout:
|
constraintlayout:
|
||||||
version: 2.2.1
|
version: 2.2.1
|
||||||
|
Reference in New Issue
Block a user