Ship set focus save on auto save

pull/216/head
M66B 2 months ago
parent ec70a71820
commit 8a9f1a4568

@ -1827,7 +1827,6 @@ public class FragmentCompose extends FragmentBase {
if (state == State.LOADED) { if (state == State.LOADED) {
Bundle extras = new Bundle(); Bundle extras = new Bundle();
extras.putBoolean("autosave", true);
extras.putBoolean("silent", true); extras.putBoolean("silent", true);
onAction(R.id.action_save, extras, "pause"); onAction(R.id.action_save, extras, "pause");
} }
@ -7665,12 +7664,12 @@ public class FragmentCompose extends FragmentBase {
if (finish) if (finish)
finish(); finish();
else else if (!autosave && !silent)
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") && !autosave); args.getBoolean("ime"));
} 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…
Cancel
Save