mirror of https://github.com/M66B/FairEmail.git
@Google: really nobody expects a double tap to end multi selection
This commit is contained in:
parent
32e08b49d5
commit
ae6176df0d
|
@ -106,6 +106,11 @@ final class TouchInputHandler<K> extends MotionInputHandler<K> {
|
|||
: mOnItemActivatedListener.onItemActivated(item, e);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean onDoubleTapEvent(MotionEvent e) {
|
||||
return mSelectionTracker.hasSelection();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onLongPress(@NonNull MotionEvent e) {
|
||||
if (!mDetailsLookup.overItemWithSelectionKey(e)) {
|
||||
|
|
Loading…
Reference in New Issue