fixed copy paste error with repeat button

This commit is contained in:
Holger Müller 2022-04-06 10:27:51 +02:00 committed by tzugen
parent 0128a8b29d
commit a98c9e2ffd
No known key found for this signature in database
GPG Key ID: 61E9C34BC10EC930

View File

@ -436,7 +436,7 @@ class PlayerFragment :
requireContext(), R.attr.media_repeat_off requireContext(), R.attr.media_repeat_off
) )
) )
shuffleButton.alpha = 0.6f repeatButton.alpha = 0.6f
} }
1 -> { 1 -> {
repeatButton.setImageDrawable( repeatButton.setImageDrawable(
@ -444,7 +444,7 @@ class PlayerFragment :
requireContext(), R.attr.media_repeat_single requireContext(), R.attr.media_repeat_single
) )
) )
shuffleButton.alpha = 1f repeatButton.alpha = 1f
} }
2 -> { 2 -> {
repeatButton.setImageDrawable( repeatButton.setImageDrawable(
@ -452,7 +452,7 @@ class PlayerFragment :
requireContext(), R.attr.media_repeat_all requireContext(), R.attr.media_repeat_all
) )
) )
shuffleButton.alpha = 1f repeatButton.alpha = 1f
} }
else -> { else -> {
} }