1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-26 17:57:16 +00:00

Fix cursor position on reply

This commit is contained in:
M66B 2018-08-16 11:46:08 +00:00
parent d727c2bb52
commit 63abaa1b33

View file

@ -645,9 +645,10 @@ public class FragmentCompose extends FragmentEx {
etBody.setText(TextUtils.isEmpty(draft.body) ? null : Html.fromHtml(draft.body));
if ("reply".equals(action) || "reply_all".equals(action))
if ("reply".equals(action) || "reply_all".equals(action)) {
etBody.requestFocus();
else if ("forward".equals(action))
etBody.setSelection(0);
} else if ("forward".equals(action))
etTo.requestFocus();
Helper.setViewsEnabled(view, true);