Ship set focus save on auto save

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

@ -1827,7 +1827,6 @@ public class FragmentCompose extends FragmentBase {
if (state == State.LOADED) {
Bundle extras = new Bundle();
extras.putBoolean("autosave", true);
extras.putBoolean("silent", true);
onAction(R.id.action_save, extras, "pause");
}
@ -7665,12 +7664,12 @@ public class FragmentCompose extends FragmentBase {
if (finish)
finish();
else
else if (!autosave && !silent)
setFocus(
args.getInt("focus"),
args.getInt("start", -1),
args.getInt("end", -1),
args.getBoolean("ime") && !autosave);
args.getBoolean("ime"));
} else if (action == R.id.action_check) {
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(getContext());

Loading…
Cancel
Save