Skip to content

Commit

Permalink
Merge pull request #199 from Block-Network/Dev
Browse files Browse the repository at this point in the history
### 5.3.1
优化默认配置
更新描述
  • Loading branch information
xiaowine authored Jun 4, 2022
2 parents 94cb528 + 5d5582c commit ab7edab
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 21 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ android {
applicationId = "statusbar.lyric"
minSdk = 26
targetSdk = 32
versionCode = 160
versionName = "5.3.0"
versionCode = 161
versionName = "5.3.1"
aaptOptions.cruncherEnabled = false
aaptOptions.useNewCruncher = false
buildConfigField("String", "BUILD_TIME", "\"$buildTime\"")
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/java/statusbar/lyric/config/Config.kt
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ class Config {
}

fun getCustomizeText(): String {
return config.optString("CustomizeText", "|")
return config.optString("CustomizeText", "")
}

fun setCustomizeText(str: String) {
Expand All @@ -221,7 +221,7 @@ class Config {
}

fun getCustomizeViewPosition(): Boolean {
return config.optBoolean("CustomizeViewPosition", false)
return config.optBoolean("CustomizeViewPosition", true)
}

fun setCustomizeViewPosition(bool: Boolean) {
Expand Down
13 changes: 7 additions & 6 deletions app/src/main/res/values-zh-rCN/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@
- 咪咕音乐 未知 ~ 现今(状态栏歌词版)\n
- 网易云音乐 8.2.10 ~ 现今(状态栏歌词版)\n
- 网易云音乐 未知 ~ 8.0.40 (车载蓝牙歌词版)\n
- 酷狗音乐 未知 ~ 11.1.5(车载蓝牙歌词版)\n
- 酷狗音乐概念版 未知 ~ 2.4.5(车载蓝牙歌词版)\n
- 酷我音乐 未知 ~ 10.1.1.0(车载蓝牙歌词版)\n
- 酷狗音乐 未知 ~ 11.1.9(车载蓝牙歌词版)\n
- 酷狗音乐概念版 未知 ~ 2.5.1(车载蓝牙歌词版)\n
- 酷我音乐 未知 ~ 10.1.3.0(车载蓝牙歌词版)\n
- 椒盐音乐 4.5 ~ 现今(API 版)\n
- 魅族音乐 未知 ~ 现今(状态栏歌词版)\n
- 小米音乐 4.6.0 ~ 现今 (车载蓝牙歌词版)
- 魅族音乐 未知 ~ (状态栏歌词版)\n
- 小米音乐 4.6.0 ~ 4.7.2.2(车载蓝牙歌词版
</string>
<string name="AppName">墨•状态栏歌词</string>
<string name="QuickTitle">墨•状态栏歌词</string>
Expand Down Expand Up @@ -88,7 +88,8 @@
模块在官方状态栏布局下完美使用,修改布局可能会出问题\n\n
若无法显示歌词\n
请重启系统界面,并确保模块开关打开\n
请确保音乐软件设置内「状态栏歌词」或「车载蓝牙歌词」为开启状态\n\n
"车载蓝牙歌词版" 请确保音乐软件设置内「车载蓝牙歌词」为开启状态\n
"状态栏歌词版" 请确保音乐软件设置内「状态栏歌词」为开启状态\n\n
带 * 的功能改动后需要重启系统界面\n

模块不生效请打开 debug 并重启 SystemUI 并附上日志\n前往 GitHub / 电报 进行反馈
Expand Down
12 changes: 7 additions & 5 deletions app/src/main/res/values-zh-rTW/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@
- 咪咕音樂 未知 ~ 現今(狀態欄歌詞版)\n
- 網易云音樂 8.2.10 ~ 現今(狀態欄歌詞版)\n
- 網易云音樂 未知 ~ 8.0.40 (車載藍牙歌詞版)\n
- 酷狗音樂 未知 ~ 11.1.5(車載藍牙歌詞版)\n
- 酷狗音樂概念版 未知 ~ 2.4.5(車載藍牙歌詞版)\n
- 酷我音樂 未知 ~ 10.1.1.0(車載藍牙歌詞版)\n
- 酷狗音樂 未知 ~ 11.1.9(車載藍牙歌詞版)\n
- 酷狗音樂概念版 未知 ~ 2.5.1(車載藍牙歌詞版)\n
- 酷我音樂 未知 ~ 10.1.3.0(車載藍牙歌詞版)\n
- 椒鹽音樂 4.5 ~ 現今(API版)\n
- 魅族音樂 未知 ~ 現今(狀態欄歌詞版)\n
- 小米音樂 4.6.0 ~ 現今 (車載藍牙歌詞版)
- 小米音樂 4.6.0 ~ 4.7.2.2(車載藍牙歌詞版
</string>
<string name="AppName">墨•狀態欄歌詞</string>
<string name="QuickTitle">狀態欄歌詞</string>
Expand Down Expand Up @@ -89,7 +89,9 @@

若無法顯示歌詞\n
請重啟系統界面,並確保模塊開關打開\n
請確保音樂軟件內設置 狀態欄歌詞 或 車載藍牙歌詞 打開\n\n
"車載藍牙歌詞版" 請確保音樂軟件設置內「車載藍牙歌詞」為開啟狀態\n
"狀態欄歌詞版" 請確保音樂軟件設置內「狀態欄歌詞」為開啟狀態\n\n


帶 * 的功能改動需要重啟系統界面\n\n

Expand Down
12 changes: 6 additions & 6 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@
- MiguMusic Unknown ~ now(Status bar lyrics version)\n
- Netease 8.2 10 ~ now(Status bar lyrics version)\n
- Netease unknown ~ 8.0 40(Car Bluetooth Lyrics Version)\n
- KugouMusic Unknown ~ 11.1.5(Car Bluetooth Lyrics Version)\n
- Kugou Music (Concept Version) Unknown ~ 2.4.5 (Car Bluetooth Lyrics Version)\n
- KuwoMusic Unknown ~ 10.1.1.0(Car Bluetooth Lyrics Version)\n
- Kugou Music Unknown ~ 11.1.9(Car Bluetooth Lyrics Version)\n
- Kugou Music (Concept Version) Unknown ~ 2.5.1(Car Bluetooth Lyrics Version)\n
- Kuwo Music Unknown ~ 10.1.3.0(Car Bluetooth Lyrics Version)\n
- SaltPlayer 4.5 ~ now(API version)\n
- MeizuMusic Unknown ~ now(Status bar lyrics version)\n
- MIUIPlayer 4.6.0 ~ now(Car Bluetooth Lyrics Version)
- MIUIPlayer 4.6.0 ~ 4.7.2.2(Car Bluetooth Lyrics Version)
</string>
<string name="AppName">StatusBar lyric</string>
<string name="QuickTitle">Status bar lyric</string>
Expand Down Expand Up @@ -94,8 +94,8 @@

If the lyrics cannot be displayed\n
Please restart the system interface and make sure the module switch is turned on\n
Please make sure to set the lyrics in the StatusBar or Bluetooth lyrics in the car to turn on in the music
software\n\n
"Car Bluetooth Lyrics Version" Please make sure that "Car Bluetooth Lyrics" is turned on in the music software settings\n
"Status Bar Lyrics Version" Please make sure "Status Bar Lyrics" is enabled in the music software settings\n\n

The function changes with * need to restart the system interface\n\n

Expand Down

0 comments on commit ab7edab

Please sign in to comment.