Skip to content

Commit ab74189

Browse files
committed
Update version to 1.5
1 parent cfb0c06 commit ab74189

6 files changed

Lines changed: 8 additions & 8 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# ColorOS 通知图标增强
22

3-
[![Blank](https://img.shields.io/badge/build-pending-dbab09)](https://github.com/fankes/ColorOSNotifyIcon)
3+
[![Blank](https://img.shields.io/badge/build-passing-brightgreen)](https://github.com/fankes/ColorOSNotifyIcon)
44
[![Blank](https://img.shields.io/badge/license-AGPL3.0-blue)](https://github.com/fankes/ColorOSNotifyIcon/blob/master/LICENSE)
5-
[![Blank](https://img.shields.io/badge/version-v1.36-green)](https://github.com/fankes/ColorOSNotifyIcon/releases)
5+
[![Blank](https://img.shields.io/badge/version-v1.5-green)](https://github.com/fankes/ColorOSNotifyIcon/releases)
66
[![Blank](https://img.shields.io/github/downloads/fankes/ColorOSNotifyIcon/total?label=Release)](https://github.com/fankes/ColorOSNotifyIcon/releases)
77
[![Blank](https://img.shields.io/github/downloads/Xposed-Modules-Repo/com.fankes.coloros.notify/total?label=LSPosed%20Repo&logo=Android&style=flat&labelColor=F48FB1&logoColor=ffffff)](https://github.com/Xposed-Modules-Repo/com.fankes.coloros.notify/releases)
88
[![Telegram](https://img.shields.io/static/v1?label=Telegram&message=交流讨论&color=0088cc)](https://t.me/XiaofangInternet)

app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ android {
3838

3939
buildTypes {
4040
release {
41-
minifyEnabled false
41+
minifyEnabled true
4242
signingConfig signingConfigs.debug
4343
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
4444
}

app/src/main/java/com/fankes/coloros/notify/ui/activity/MainActivity.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ class MainActivity : BaseActivity<ActivityMainBinding>() {
5151
private const val moduleVersion = BuildConfig.VERSION_NAME
5252

5353
/** 预发布的版本标识 */
54-
private const val pendingFlag = "[pending]"
54+
private const val pendingFlag = ""
5555
}
5656

5757
/** 模块是否可用 */

app/src/main/java/com/fankes/coloros/notify/ui/view/MaterialSwitch.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class MaterialSwitch(context: Context, attrs: AttributeSet?) : SwitchCompat(cont
4545
return ColorStateList(states, colors)
4646
}
4747

48-
private val thumbColor get() = if (isSystemInDarkMode) 0xFF7C7C7C else 0xFFCCCCCC
48+
private val thumbColor get() = if (context.isSystemInDarkMode) 0xFF7C7C7C else 0xFFCCCCCC
4949

5050
init {
5151
trackDrawable = DrawableBuilder()

app/src/main/res/layout/activity_main.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -745,7 +745,7 @@
745745
android:layout_marginBottom="10dp"
746746
android:alpha="0.8"
747747
android:lineSpacingExtra="10dp"
748-
android:text="Q.哪些是已知问题?\nA.问题如下:\n1.由于机型有限,仅对 ColorOS 12~12.1 测试正常运行,根据酷友的需要云调试修复 ColorOS 11 的问题,其它版本情况未知,请自行进行测试。\n2.OxygenOS 只支持 12 版本,其它类 ColorOS 魔改的 UI 理论没有问题,请自行测试。\n3.动态刷新系统界面为实验性功能,若动态地改变了系统深色模式,调节了分辨率和字体大小,状态栏的通知图标会还原,或在刷新时发生图标黑白块问题,发生类似这种情况请手动重启一次系统界面即可解决。"
748+
android:text="Q.哪些是已知问题?\nA.以下是问题描述列表:\n(1) 由于机型有限,仅对 ColorOS 12~12.1 测试正常运行,根据酷友的需要云调试修复 ColorOS 11 的问题,其它版本情况未知,请自行进行测试。\n(2) OxygenOS 只支持 12 版本,其它类 ColorOS 魔改的 UI 理论没有问题,请自行测试。\n(3) 动态刷新系统界面为实验性功能,若动态地改变了系统深色模式,调节了分辨率和字体大小,状态栏的通知图标会还原,或在刷新时发生图标黑白块问题,发生类似这种情况请手动重启一次系统界面即可解决。"
749749
android:textColor="@color/colorTextDark"
750750
android:textSize="12sp" />
751751

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ plugins {
55
}
66

77
ext {
8-
appVersionName = "1.36"
9-
appVersionCode = 6
8+
appVersionName = "1.5"
9+
appVersionCode = 7
1010
}
1111

1212
task clean(type: Delete) {

0 commit comments

Comments
 (0)