Simplification

This commit is contained in:
M66B 2022-10-22 19:51:45 +02:00
parent 4a62e23cc4
commit 246883e8b9
1 changed files with 1 additions and 2 deletions

View File

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