Clear log on disabling protocol logging

pull/199/head
M66B 4 years ago
parent ee11063b57
commit a3000b223e

@ -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…
Cancel
Save