Simplification

pull/209/head
M66B 2 years ago
parent 4a62e23cc4
commit 246883e8b9

@ -603,9 +603,8 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
} }
private boolean onClick(MotionEvent event) { private boolean onClick(MotionEvent event) {
TextView widget = tvBody;
Spannable buffer = (Spannable) tvBody.getText(); Spannable buffer = (Spannable) tvBody.getText();
int off = Helper.getOffset(widget, buffer, event); int off = Helper.getOffset(tvBody, buffer, event);
TupleMessageEx message = getMessage(); TupleMessageEx message = getMessage();
if (message == null) if (message == null)

Loading…
Cancel
Save