mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-28 02:37:16 +00:00
Fix cursor position on reply
This commit is contained in:
parent
d727c2bb52
commit
63abaa1b33
1 changed files with 3 additions and 2 deletions
|
@ -645,9 +645,10 @@ public class FragmentCompose extends FragmentEx {
|
||||||
|
|
||||||
etBody.setText(TextUtils.isEmpty(draft.body) ? null : Html.fromHtml(draft.body));
|
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();
|
etBody.requestFocus();
|
||||||
else if ("forward".equals(action))
|
etBody.setSelection(0);
|
||||||
|
} else if ("forward".equals(action))
|
||||||
etTo.requestFocus();
|
etTo.requestFocus();
|
||||||
|
|
||||||
Helper.setViewsEnabled(view, true);
|
Helper.setViewsEnabled(view, true);
|
||||||
|
|
Loading…
Reference in a new issue