Fixed truncating total time in now playing themes

This commit is contained in:
Hemanth S 2020-06-06 12:03:37 +05:30
parent 2fb5368263
commit b43399cc02
20 changed files with 53 additions and 55 deletions

View file

@ -220,7 +220,7 @@ class PlayerPlaybackControlsFragment : AbsPlayerControlsFragment() {
}
public override fun show() {
playPauseButton!!.animate()
playPauseButton.animate()
.scaleX(1f)
.scaleY(1f)
.rotation(360f)
@ -229,12 +229,10 @@ class PlayerPlaybackControlsFragment : AbsPlayerControlsFragment() {
}
public override fun hide() {
if (playPauseButton != null) {
playPauseButton!!.apply {
scaleX = 0f
scaleY = 0f
rotation = 0f
}
playPauseButton.apply {
scaleX = 0f
scaleY = 0f
rotation = 0f
}
}