Skip to content

Commit

Permalink
optimization: ChargingCVP.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
lingqiqi5211 authored Mar 1, 2024
1 parent a0c7638 commit c0a0ee1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ object ChargingCVP : BaseHook() {
}
val mVoltage = "${String.format("%.1f", abs(voltage / 1000f))} V"
// 电池温度是否展示
val mTemp = if (mPrefsMap.getBoolean("system_ui_show_battery_temperature")) " · $temp" else ""
val mTemp = if (mPrefsMap.getBoolean("system_ui_show_battery_temperature")) " $temp" else ""

// 判断充满信息是否归零
val showBattery = if (current == 0) {
Expand Down

0 comments on commit c0a0ee1

Please sign in to comment.