mirror of
https://github.com/clangen/musikcube.git
synced 2025-01-02 11:58:27 +00:00
Fixed volume up / down key not working for remote playback, caused by
recent refactors.
This commit is contained in:
parent
eeafa9d7e8
commit
c41e89367c
@ -42,7 +42,7 @@ class PlaybackMixin(var listener: (() -> Unit)? = null): MixinBase() {
|
||||
val streaming = prefs.getBoolean(
|
||||
Prefs.Key.STREAMING_PLAYBACK, Prefs.Default.STREAMING_PLAYBACK)
|
||||
|
||||
if (streaming) {
|
||||
if (!streaming) {
|
||||
if (keyCode == KeyEvent.KEYCODE_VOLUME_DOWN) {
|
||||
service.volumeDown()
|
||||
return true
|
||||
|
Loading…
Reference in New Issue
Block a user