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() {
|
private void onReferenceEdit() {
|
||||||
final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(getContext());
|
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(getContext());
|
||||||
if (prefs.getBoolean("edit_ref_confirmed", false)) {
|
if (prefs.getBoolean("edit_ref_confirmed", false)) {
|
||||||
onReferenceEditConfirmed();
|
onReferenceEditConfirmed();
|
||||||
return;
|
return;
|
||||||
|
@ -996,7 +996,7 @@ public class FragmentCompose extends FragmentBase {
|
||||||
}
|
}
|
||||||
|
|
||||||
private void onActionSend() {
|
private void onActionSend() {
|
||||||
final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(getContext());
|
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(getContext());
|
||||||
boolean autosend = prefs.getBoolean("autosend", false);
|
boolean autosend = prefs.getBoolean("autosend", false);
|
||||||
if (autosend) {
|
if (autosend) {
|
||||||
onActionSendConfirmed();
|
onActionSendConfirmed();
|
||||||
|
|
|
@ -3002,6 +3002,12 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
|
||||||
if (result.size() == 0)
|
if (result.size() == 0)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(getContext());
|
||||||
|
if (prefs.getBoolean("automove", false)) {
|
||||||
|
moveAskConfirmed(result);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
Bundle aargs = new Bundle();
|
Bundle aargs = new Bundle();
|
||||||
aargs.putString("question", getResources()
|
aargs.putString("question", getResources()
|
||||||
.getQuantityString(R.plurals.title_moving_messages,
|
.getQuantityString(R.plurals.title_moving_messages,
|
||||||
|
|
Loading…
Reference in New Issue