Just to be sure

This commit is contained in:
M66B 2020-03-24 14:48:19 +01:00
parent ae284d0286
commit 5a5842272f
1 changed files with 3 additions and 0 deletions

View File

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