Fixed volume up / down key not working for remote playback, caused by

recent refactors.
This commit is contained in:
casey langen 2017-11-19 02:06:51 -08:00
parent eeafa9d7e8
commit c41e89367c

View File

@ -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