diff --git a/.idea/misc.xml b/.idea/misc.xml index 6b0d1f4..5b8492a 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -11,7 +11,7 @@ - + diff --git a/README.md b/README.md index a40caab..192ef03 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ [![Blank](https://img.shields.io/badge/build-passing-brightgreen)](https://github.com/fankes/ColorOSNotifyIcon) [![Blank](https://img.shields.io/badge/license-AGPL3.0-blue)](https://github.com/fankes/ColorOSNotifyIcon/blob/master/LICENSE) -[![Blank](https://img.shields.io/badge/version-v1.6-green)](https://github.com/fankes/ColorOSNotifyIcon/releases) +[![Blank](https://img.shields.io/badge/version-v1.7-green)](https://github.com/fankes/ColorOSNotifyIcon/releases) [![Blank](https://img.shields.io/github/downloads/fankes/ColorOSNotifyIcon/total?label=Release)](https://github.com/fankes/ColorOSNotifyIcon/releases) [![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) [![Telegram](https://img.shields.io/badge/Follow-Telegram-blue.svg?logo=telegram)](https://t.me/XiaofangInternet) @@ -30,8 +30,8 @@ Optimize notification icons for ColorOS and adapt to native notification icon sp - 本模块完全开源免费,如果好用你可以打赏支持开发,但是请不要用于非法用途。 - 本模块发布地址仅有 [Xposed-Modules-Repo](https://github.com/Xposed-Modules-Repo/com.fankes.coloros.notify/releases)、 - [Release](https://github.com/fankes/ColorOSNotifyIcon/releases) - 及 [蓝奏云](https://fankes.lanzouy.com/b030rvjyf),从其他非正规渠道下载到的版本或对您造成任何影响均与我们无关。 + [Release](https://github.com/fankes/ColorOSNotifyIcon/releases)、[蓝奏云](https://fankes.lanzouy.com/b030rvjyf) 及**酷安应用市场** + ,从其他非正规渠道下载到的版本或对您造成任何影响均与我们无关。 ## 贡献通知图标优化名单 diff --git a/app/build.gradle b/app/build.gradle index 1bccce5..b1bfbab 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -1,7 +1,7 @@ plugins { id 'com.android.application' id 'org.jetbrains.kotlin.android' - id 'com.google.devtools.ksp' version '1.6.20-1.0.5' + id 'com.google.devtools.ksp' version '1.6.21-1.0.5' } android { diff --git a/app/src/main/java/com/fankes/coloros/notify/const/Const.kt b/app/src/main/java/com/fankes/coloros/notify/const/Const.kt index 2757ad5..1c52691 100644 --- a/app/src/main/java/com/fankes/coloros/notify/const/Const.kt +++ b/app/src/main/java/com/fankes/coloros/notify/const/Const.kt @@ -41,7 +41,7 @@ object Const { const val MODULE_VERSION_CODE = BuildConfig.VERSION_CODE /** 当前模块的版本校验 */ - const val MODULE_VERSION_VERIFY = "${MODULE_VERSION_NAME}_${MODULE_VERSION_CODE}_202204140318" + const val MODULE_VERSION_VERIFY = "${MODULE_VERSION_NAME}_${MODULE_VERSION_CODE}_202205040646" /** 当前模块的版本校验标签 */ const val MODULE_VERSION_VERIFY_TAG = "module_version_verify" diff --git a/app/src/main/java/com/fankes/coloros/notify/ui/activity/MainActivity.kt b/app/src/main/java/com/fankes/coloros/notify/ui/activity/MainActivity.kt index 9c5d0b9..d108e61 100644 --- a/app/src/main/java/com/fankes/coloros/notify/ui/activity/MainActivity.kt +++ b/app/src/main/java/com/fankes/coloros/notify/ui/activity/MainActivity.kt @@ -139,7 +139,7 @@ class MainActivity : BaseActivity() { binding.notifyIconAutoSyncSwitch.isChecked = modulePrefs.get(DataConst.ENABLE_NOTIFY_ICON_FIX_AUTO) binding.notifyPanelConfigSwitch.isChecked = modulePrefs.get(DataConst.ENABLE_NOTIFY_PANEL_ALPHA) binding.notifyPanelConfigSeekbar.progress = modulePrefs.get(DataConst.NOTIFY_PANEL_ALPHA) - binding.notifyPanelConfigText.text = "当前 - ${modulePrefs.get(DataConst.NOTIFY_PANEL_ALPHA)}" + binding.notifyPanelConfigText.text = "当前值 - ${modulePrefs.get(DataConst.NOTIFY_PANEL_ALPHA)}" binding.notifyIconAutoSyncText.text = notifyIconAutoSyncTime binding.moduleEnableSwitch.setOnCheckedChangeListener { btn, b -> if (btn.isPressed.not()) return@setOnCheckedChangeListener @@ -212,7 +212,7 @@ class MainActivity : BaseActivity() { } binding.notifyPanelConfigSeekbar.setOnSeekBarChangeListener(object : OnSeekBarChangeListener { override fun onProgressChanged(seekBar: SeekBar?, progress: Int, fromUser: Boolean) { - binding.notifyPanelConfigText.text = "当前 - $progress" + binding.notifyPanelConfigText.text = "当前值 - $progress" } override fun onStopTrackingTouch(seekBar: SeekBar) { diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index eb61ab7..0b50191 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -453,7 +453,7 @@ android:paddingTop="5dp" android:paddingBottom="15dp" android:singleLine="true" - android:text="当前 - %1" + android:text="当前值 - %1" android:textColor="@color/colorTextGray" android:textSize="14sp" /> diff --git a/build.gradle b/build.gradle index 9d07721..c3bcaa8 100644 --- a/build.gradle +++ b/build.gradle @@ -1,12 +1,12 @@ plugins { id 'com.android.application' version '7.1.3' apply false id 'com.android.library' version '7.1.3' apply false - id 'org.jetbrains.kotlin.android' version '1.6.20' apply false + id 'org.jetbrains.kotlin.android' version '1.6.21' apply false } ext { - appVersionName = "1.6" - appVersionCode = 11 + appVersionName = "1.7" + appVersionCode = 12 enableR8 = true }