Browse Source

#87: Show Pause icon when song is playing

deploy-in-docker
Ryan Harg 3 years ago
parent
commit
1e1e34cae4
No known key found for this signature in database
GPG Key ID: 89106F3A84E6958C
  1. 2
      app/src/main/java/audio/funkwhale/ffa/activities/MainActivity.kt
  2. 1
      changes/changelog.d/87.bugfix

2
app/src/main/java/audio/funkwhale/ffa/activities/MainActivity.kt

@ -349,7 +349,7 @@ class MainActivity : AppCompatActivity() {
when (message.playing) { when (message.playing) {
true -> { true -> {
binding.nowPlayingContainer?.nowPlayingToggle?.icon = getDrawable(R.drawable.pause) binding.nowPlayingContainer?.nowPlayingToggle?.icon = getDrawable(R.drawable.pause)
binding.nowPlayingContainer?.nowPlayingToggle?.icon = getDrawable(R.drawable.pause) binding.nowPlayingContainer?.nowPlayingDetailsToggle?.icon = getDrawable(R.drawable.pause)
} }
false -> { false -> {

1
changes/changelog.d/87.bugfix

@ -0,0 +1 @@
Show pause icon when song is playing (#87)
Loading…
Cancel
Save