From 46a17dc37c37f99861e1e7b80083ee22839ea738 Mon Sep 17 00:00:00 2001 From: M66B Date: Wed, 17 Oct 2018 12:08:02 +0000 Subject: [PATCH] Fixed compose focus --- app/src/main/java/eu/faircode/email/FragmentCompose.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/src/main/java/eu/faircode/email/FragmentCompose.java b/app/src/main/java/eu/faircode/email/FragmentCompose.java index 92b29827..8da7a8af 100644 --- a/app/src/main/java/eu/faircode/email/FragmentCompose.java +++ b/app/src/main/java/eu/faircode/email/FragmentCompose.java @@ -1033,6 +1033,12 @@ public class FragmentCompose extends FragmentEx { getActivity().invalidateOptionsMenu(); etBody.setText(body); etBody.setSelection(0); + new Handler().post(new Runnable() { + @Override + public void run() { + etTo.requestFocus(); + } + }); } }.load(FragmentCompose.this, a);