Skip to content

Commit

Permalink
Check whether the player is playing or not in setupColors().
Browse files Browse the repository at this point in the history
  • Loading branch information
ruei7916 committed Nov 30, 2024
1 parent 32e9615 commit 7c5188a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ class PlayerFragment(context: Context, attributeSet: AttributeSet) : MyViewPager
}

binding.playPauseBtn.background.applyColorFilter(properPrimaryColor)
binding.playPauseBtn.setImageDrawable(getToggleButtonIcon(false))
binding.playPauseBtn.setImageDrawable(getToggleButtonIcon(getIsPlaying()))
}

fun finishActMode() = getRecordingsAdapter()?.finishActMode()
Expand Down

0 comments on commit 7c5188a

Please sign in to comment.