1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-28 18:59:01 +00:00

Added gesture tool stylus

This commit is contained in:
M66B 2020-04-22 18:21:48 +02:00
parent 116a856f86
commit 9d0637a90a

View file

@ -1212,6 +1212,8 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
new ItemDetailsLookupMessage(rvMessage),
StorageStrategy.createLongStorage())
.withSelectionPredicate(selectionPredicate)
// https://issuetracker.google.com/issues/154178289
.withGestureTooltypes(MotionEvent.TOOL_TYPE_FINGER, MotionEvent.TOOL_TYPE_STYLUS)
.build();
adapter.setSelectionTracker(selectionTracker);