mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-02 23:26:12 +02:00
Process UID command option
This commit is contained in:
@@ -897,6 +897,8 @@ public class FragmentOptionsMisc extends FragmentBase implements SharedPreferenc
|
||||
@Override
|
||||
public void onCheckedChanged(CompoundButton compoundButton, boolean checked) {
|
||||
prefs.edit().putBoolean("uid_command", checked).apply();
|
||||
System.setProperty("fairemail.uid_command", Boolean.toString(checked));
|
||||
ServiceSynchronize.reload(compoundButton.getContext(), null, true, "uid_command");
|
||||
}
|
||||
});
|
||||
|
||||
@@ -913,7 +915,7 @@ public class FragmentOptionsMisc extends FragmentBase implements SharedPreferenc
|
||||
@Override
|
||||
public void onCheckedChanged(CompoundButton compoundButton, boolean checked) {
|
||||
prefs.edit().putBoolean("uid_expunge", checked).apply();
|
||||
ServiceSynchronize.reload(compoundButton.getContext(), null, true, "perform_expunge");
|
||||
ServiceSynchronize.reload(compoundButton.getContext(), null, true, "uid_expunge");
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user