mirror of https://github.com/M66B/FairEmail.git
Fixed auto move
This commit is contained in:
parent
34b2a0583e
commit
3b718aad63
|
@ -547,7 +547,7 @@ public class FragmentCompose extends FragmentBase {
|
|||
}
|
||||
|
||||
private void onReferenceEdit() {
|
||||
final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(getContext());
|
||||
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(getContext());
|
||||
if (prefs.getBoolean("edit_ref_confirmed", false)) {
|
||||
onReferenceEditConfirmed();
|
||||
return;
|
||||
|
@ -996,7 +996,7 @@ public class FragmentCompose extends FragmentBase {
|
|||
}
|
||||
|
||||
private void onActionSend() {
|
||||
final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(getContext());
|
||||
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(getContext());
|
||||
boolean autosend = prefs.getBoolean("autosend", false);
|
||||
if (autosend) {
|
||||
onActionSendConfirmed();
|
||||
|
|
|
@ -3002,6 +3002,12 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
|
|||
if (result.size() == 0)
|
||||
return;
|
||||
|
||||
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(getContext());
|
||||
if (prefs.getBoolean("automove", false)) {
|
||||
moveAskConfirmed(result);
|
||||
return;
|
||||
}
|
||||
|
||||
Bundle aargs = new Bundle();
|
||||
aargs.putString("question", getResources()
|
||||
.getQuantityString(R.plurals.title_moving_messages,
|
||||
|
|
Loading…
Reference in New Issue