forked from mirror/monocles_chat_clean
Remove old Cheogram swiping
This commit is contained in:
parent
d4b1e440c2
commit
083b7ec946
1 changed files with 0 additions and 9 deletions
|
@ -57,7 +57,6 @@ import com.google.android.material.shape.ShapeAppearanceModel;
|
|||
|
||||
import de.monocles.chat.BobTransfer;
|
||||
import de.monocles.chat.MessageTextActionModeCallback;
|
||||
import de.monocles.chat.SwipeDetector;
|
||||
import de.monocles.chat.WebxdcPage;
|
||||
import de.monocles.chat.WebxdcUpdate;
|
||||
|
||||
|
@ -1321,12 +1320,6 @@ public class MessageAdapter extends ArrayAdapter<Message> {
|
|||
.onContactPictureClicked(message);
|
||||
}
|
||||
});
|
||||
SwipeDetector swipeDetector = new SwipeDetector((action) -> {
|
||||
if (action == SwipeDetector.Action.LR && MessageAdapter.this.mOnMessageBoxSwipedListener != null) {
|
||||
MessageAdapter.this.mOnMessageBoxSwipedListener.onContactPictureClicked(message);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
|
||||
// monocles swipe feature
|
||||
|
@ -1395,8 +1388,6 @@ public class MessageAdapter extends ArrayAdapter<Message> {
|
|||
}
|
||||
}
|
||||
|
||||
swipeDetector.onTouch(v, event);
|
||||
|
||||
return false;
|
||||
});
|
||||
viewHolder.messageBody.setOnClickListener(v -> {
|
||||
|
|
Loading…
Add table
Reference in a new issue