UID EXPUNGE for folders

This commit is contained in:
M66B
2022-03-26 13:16:53 +01:00
parent 8c54034f09
commit e9310d56b5
4 changed files with 33 additions and 4 deletions

View File

@@ -1043,7 +1043,6 @@ public class FragmentOptionsMisc extends FragmentBase implements SharedPreferenc
@Override
public void onCheckedChanged(CompoundButton compoundButton, boolean checked) {
prefs.edit().putBoolean("perform_expunge", checked).apply();
swUidExpunge.setEnabled(checked);
ServiceSynchronize.reload(compoundButton.getContext(), null, true, "perform_expunge");
}
});
@@ -1713,7 +1712,6 @@ public class FragmentOptionsMisc extends FragmentBase implements SharedPreferenc
swUid.setChecked(prefs.getBoolean("uid_command", false));
swExpunge.setChecked(prefs.getBoolean("perform_expunge", true));
swUidExpunge.setChecked(prefs.getBoolean("uid_expunge", false));
swUidExpunge.setEnabled(swExpunge.isChecked());
swAuthPlain.setChecked(prefs.getBoolean("auth_plain", true));
swAuthLogin.setChecked(prefs.getBoolean("auth_login", true));
swAuthNtlm.setChecked(prefs.getBoolean("auth_ntlm", true));