Disable tap of album art causing toggle to playlist
Way too annoying when trying to use swipe gestures. The swipe gestures to change tracks and seek remain. All these should be configurable.
This commit is contained in:
parent
f4fbdc2bb1
commit
02ffb3b8f0
|
@ -274,12 +274,8 @@ public class NowPlayingFragment extends SubsonicFragment implements OnGestureLis
|
|||
|
||||
View overlay = rootView.findViewById(R.id.download_overlay_buttons);
|
||||
final int overlayHeight = overlay != null ? overlay.getHeight() : -1;
|
||||
albumArtImageView.setOnClickListener(view -> {
|
||||
if (overlayHeight == -1 || lastY < (view.getBottom() - overlayHeight)) {
|
||||
toggleFullscreenAlbumArt();
|
||||
setControlsVisible(true);
|
||||
}
|
||||
});
|
||||
// seems pointless, but allows swipe gestures to work
|
||||
albumArtImageView.setOnClickListener(view -> {});
|
||||
|
||||
progressBar.setOnSeekBarChangeListener(new SeekBar.OnSeekBarChangeListener() {
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue