Fix audio player small glitch when opening / closing
(cherry picked from commit 23196a5f20)
This commit is contained in:
committed by
Geoffrey Métais
parent
0201e48839
commit
f8d52fadfa
@@ -404,7 +404,7 @@ class AudioPlayer : Fragment(), PlaylistAdapter.IPlayer, TextWatcher, CoroutineS
|
||||
}
|
||||
|
||||
private fun restoreHeaderButtonVisibilities() {
|
||||
binding.progressBar.visibility = if (progressBarVisible) View.VISIBLE else View.GONE
|
||||
binding.progressBar.visibility = if (progressBarVisible) View.VISIBLE else View.INVISIBLE
|
||||
val cl = binding.header
|
||||
TransitionManager.beginDelayedTransition(cl, AutoTransition().setDuration(200))
|
||||
ConstraintSet().apply {
|
||||
|
||||
Reference in New Issue
Block a user