Fix cursor position on reply

pull/50/head
M66B 6 years ago
parent d727c2bb52
commit 63abaa1b33

@ -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