Fixed blank player screen when clicked notification when Show Now Playing preference was true

main
Prathamesh More 2021-10-27 09:46:33 +05:30
parent 238987d533
commit 92635af1e0
1 changed files with 2 additions and 0 deletions

View File

@ -181,6 +181,7 @@ abstract class AbsSlidingMusicPanelActivity : AbsMusicServiceActivity() {
}
open fun onPanelCollapsed() {
setMiniPlayerAlphaProgress(0F)
// restore values
super.setLightStatusbarAuto(surfaceColor())
super.setLightNavigationAuto()
@ -188,6 +189,7 @@ abstract class AbsSlidingMusicPanelActivity : AbsMusicServiceActivity() {
}
open fun onPanelExpanded() {
setMiniPlayerAlphaProgress(1F)
onPaletteColorChanged()
}