Just to be sure

pull/177/head
M66B 5 years ago
parent ae284d0286
commit 5a5842272f

@ -4225,6 +4225,9 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
} }
String getSelectedText() { String getSelectedText() {
if (tvBody == null)
return null;
int start = tvBody.getSelectionStart(); int start = tvBody.getSelectionStart();
int end = tvBody.getSelectionEnd(); int end = tvBody.getSelectionEnd();
if (start == end) if (start == end)

Loading…
Cancel
Save