Fixed Color fragment crash because of wrong layout and fixed play button animation on bottom sheet expanding.
This commit is contained in:
parent
f56000a8be
commit
404bc0ff12
2 changed files with 3 additions and 1 deletions
|
@ -227,11 +227,13 @@ abstract class AbsSlidingMusicPanelActivity : AbsMusicServiceActivity() {
|
|||
setLightStatusBarAuto()
|
||||
setLightNavigationBarAuto()
|
||||
setTaskDescriptionColor(taskColor)
|
||||
playerFragment?.onHide()
|
||||
}
|
||||
|
||||
open fun onPanelExpanded() {
|
||||
setMiniPlayerAlphaProgress(1F)
|
||||
onPaletteColorChanged()
|
||||
playerFragment?.onShow()
|
||||
}
|
||||
|
||||
private fun setupSlidingUpPanel() {
|
||||
|
|
|
@ -43,7 +43,7 @@ import code.name.monkey.retromusic.util.color.MediaNotificationProcessor
|
|||
import kotlin.math.sqrt
|
||||
|
||||
class ColorPlaybackControlsFragment :
|
||||
AbsPlayerControlsFragment(R.layout.fragment_adaptive_player_playback_controls) {
|
||||
AbsPlayerControlsFragment(R.layout.fragment_color_player_playback_controls) {
|
||||
|
||||
private var _binding: FragmentColorPlayerPlaybackControlsBinding? = null
|
||||
private val binding get() = _binding!!
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue