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