Browse Source

Fix cursor position on reply

main
M66B 6 years ago
parent
commit
63abaa1b33
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      app/src/main/java/eu/faircode/email/FragmentCompose.java

+ 3
- 2
app/src/main/java/eu/faircode/email/FragmentCompose.java 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);


Loading…
Cancel
Save