mirror of https://github.com/M66B/FairEmail.git
Request focus / show keyboard after save draft
This commit is contained in:
parent
595fa5ad23
commit
78d5c2d363
|
@ -5135,7 +5135,10 @@ public class FragmentCompose extends FragmentBase {
|
||||||
showDraft(draft);
|
showDraft(draft);
|
||||||
|
|
||||||
} else if (action == R.id.action_save) {
|
} else if (action == R.id.action_save) {
|
||||||
// Do nothing
|
etBody.requestFocus();
|
||||||
|
InputMethodManager imm = (InputMethodManager) getContext().getSystemService(Context.INPUT_METHOD_SERVICE);
|
||||||
|
if (imm != null)
|
||||||
|
imm.toggleSoftInput(InputMethodManager.SHOW_FORCED, 0);
|
||||||
|
|
||||||
} else if (action == R.id.action_check) {
|
} else if (action == R.id.action_check) {
|
||||||
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(getContext());
|
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(getContext());
|
||||||
|
|
Loading…
Reference in New Issue