Skip to content

Commit

Permalink
opt: update MediaControl-BlurBg 2.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Sevtinge committed Aug 24, 2024
1 parent 4b1fe80 commit 4b825ed
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -270,8 +270,7 @@ class MediaControlPanelBackgroundMix : BaseHook() {
val getStatusBarState = hookParam1.result as Int
val isInLockScreen = getStatusBarState == 1
val isDarkMode = isDarkMode()
if (lockScreenStatus == null || lockScreenStatus != isInLockScreen || darkModeStatus != isDarkMode) {
lockScreenStatus = isInLockScreen
if (lockScreenStatus == null || darkModeStatus == null || lockScreenStatus != isInLockScreen || darkModeStatus != isDarkMode) { lockScreenStatus = isInLockScreen
darkModeStatus = isDarkMode
(it.thisObject as ImageView).apply {
getNotificationElementBlendColors(
Expand Down

0 comments on commit 4b825ed

Please sign in to comment.