1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-03 21:55:13 +00:00

Clear log on disabling protocol logging

This commit is contained in:
M66B 2021-06-04 13:17:57 +02:00
parent ee11063b57
commit a3000b223e

View file

@ -554,6 +554,8 @@ public class FragmentOptionsMisc extends FragmentBase implements SharedPreferenc
@Override
public void onCheckedChanged(CompoundButton compoundButton, boolean checked) {
prefs.edit().putBoolean("protocol", checked).apply();
if (!checked)
EntityLog.clear(compoundButton.getContext());
}
});