Browse Source

Fixed compose focus

main
M66B 6 years ago
parent
commit
46a17dc37c
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      app/src/main/java/eu/faircode/email/FragmentCompose.java

+ 6
- 0
app/src/main/java/eu/faircode/email/FragmentCompose.java View File

@ -1033,6 +1033,12 @@ public class FragmentCompose extends FragmentEx {
getActivity().invalidateOptionsMenu(); getActivity().invalidateOptionsMenu();
etBody.setText(body); etBody.setText(body);
etBody.setSelection(0); etBody.setSelection(0);
new Handler().post(new Runnable() {
@Override
public void run() {
etTo.requestFocus();
}
});
} }
}.load(FragmentCompose.this, a); }.load(FragmentCompose.this, a);


Loading…
Cancel
Save