mirror of https://github.com/M66B/FairEmail.git
Prevent showing keyboard after auto save
This commit is contained in:
parent
a69e4a090d
commit
8d2fb9cfb1
|
@ -5831,11 +5831,12 @@ public class FragmentCompose extends FragmentBase {
|
||||||
showDraft(draft);
|
showDraft(draft);
|
||||||
|
|
||||||
} else if (action == R.id.action_save) {
|
} else if (action == R.id.action_save) {
|
||||||
|
boolean autosave = extras.getBoolean("autosave");
|
||||||
setFocus(
|
setFocus(
|
||||||
args.getInt("focus"),
|
args.getInt("focus"),
|
||||||
args.getInt("start", -1),
|
args.getInt("start", -1),
|
||||||
args.getInt("end", -1),
|
args.getInt("end", -1),
|
||||||
args.getBoolean("ime"));
|
args.getBoolean("ime") && !autosave);
|
||||||
|
|
||||||
} 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