made button off mode better visible
This commit is contained in:
parent
a98c9e2ffd
commit
515690abac
|
@ -424,7 +424,7 @@ class PlayerFragment :
|
|||
if (isEnabled) {
|
||||
shuffleButton.alpha = 1f
|
||||
} else {
|
||||
shuffleButton.alpha = 0.6f
|
||||
shuffleButton.alpha = 0.3f
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -436,7 +436,7 @@ class PlayerFragment :
|
|||
requireContext(), R.attr.media_repeat_off
|
||||
)
|
||||
)
|
||||
repeatButton.alpha = 0.6f
|
||||
repeatButton.alpha = 0.3f
|
||||
}
|
||||
1 -> {
|
||||
repeatButton.setImageDrawable(
|
||||
|
|
|
@ -94,7 +94,8 @@ class PlaybackService : MediaLibraryService(), KoinComponent {
|
|||
// Create a renderer with HW rendering support
|
||||
val renderer = DefaultRenderersFactory(this)
|
||||
|
||||
if (Settings.useHwOffload) renderer.setEnableAudioOffload(true)
|
||||
if (Settings.useHwOffload)
|
||||
renderer.setEnableAudioOffload(true)
|
||||
|
||||
// Create the player
|
||||
player = ExoPlayer.Builder(this)
|
||||
|
|
Loading…
Reference in New Issue