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:
parent
ee11063b57
commit
a3000b223e
1 changed files with 2 additions and 0 deletions
|
@ -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());
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue