Simplify code for return value

This commit is contained in:
Patric Karlström 2021-01-13 15:34:31 +01:00
parent 3ca7d9b369
commit 49a3d157ee

View file

@ -684,10 +684,7 @@ public class ShuffleFragment extends BaseFragment {
@Override @Override
public boolean onDown(MotionEvent e) { public boolean onDown(MotionEvent e) {
if (control instanceof PlayerView) { return control instanceof PlayerView;
return false;
}
return true;
} }
@Override @Override