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);
|
View overlay = rootView.findViewById(R.id.download_overlay_buttons);
|
||||||
final int overlayHeight = overlay != null ? overlay.getHeight() : -1;
|
final int overlayHeight = overlay != null ? overlay.getHeight() : -1;
|
||||||
albumArtImageView.setOnClickListener(view -> {
|
// seems pointless, but allows swipe gestures to work
|
||||||
if (overlayHeight == -1 || lastY < (view.getBottom() - overlayHeight)) {
|
albumArtImageView.setOnClickListener(view -> {});
|
||||||
toggleFullscreenAlbumArt();
|
|
||||||
setControlsVisible(true);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
progressBar.setOnSeekBarChangeListener(new SeekBar.OnSeekBarChangeListener() {
|
progressBar.setOnSeekBarChangeListener(new SeekBar.OnSeekBarChangeListener() {
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue