mirror of https://github.com/M66B/FairEmail.git
Just to be sure
This commit is contained in:
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…
Reference in New Issue