Skip to content

Commit

Permalink
fix: QSVolumeOrBrightnessValue wrong key
Browse files Browse the repository at this point in the history
  • Loading branch information
Sevtinge committed Dec 29, 2024
1 parent eb07465 commit d71762d
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ import java.lang.reflect.*
// from https://github.com/YunZiA/HyperStar2.0/blob/master/app/src/main/java/com/yunzia/hyperstar/hook/app/plugin/QSVolumeOrBrightnessValue.kt
object QSVolumeOrBrightnessValue {

private val volumeShow = mPrefsMap.getBoolean("system_ui_control_center_qs_brightness_top_value_show")
val volumeShowStyle = mPrefsMap.getStringAsInt("system_ui_control_center_qs_brightness_top_value_show_value", 0)
private val brightnessShow = mPrefsMap.getBoolean("system_ui_control_center_qs_volume_top_value_show")
val brightnessShowStyle = mPrefsMap.getStringAsInt("system_ui_control_center_qs_volume_top_value_show_value", 0)
private val brightnessShow = mPrefsMap.getBoolean("system_ui_control_center_qs_brightness_top_value_show")
val brightnessShowStyle = mPrefsMap.getStringAsInt("system_ui_control_center_qs_brightness_top_value_show_value", 0)
private val volumeShow = mPrefsMap.getBoolean("system_ui_control_center_qs_volume_top_value_show")
val volumeShowStyle = mPrefsMap.getStringAsInt("system_ui_control_center_qs_volume_top_value_show_value", 0)

fun initQSVolumeOrBrightnessValue(classLoader: ClassLoader) {
if (volumeShow){
Expand Down

0 comments on commit d71762d

Please sign in to comment.