Auto disable protocol logging

This commit is contained in:
M66B
2021-03-24 20:54:53 +01:00
parent 4c4c7d72cc
commit 625a32af1b
2 changed files with 35 additions and 3 deletions

View File

@@ -526,6 +526,7 @@ public class FragmentOptionsMisc extends FragmentBase implements SharedPreferenc
@Override
public void onCheckedChanged(CompoundButton compoundButton, boolean checked) {
prefs.edit().putBoolean("protocol", checked).apply();
ServiceUI.scheduleProtocol(compoundButton.getContext(), checked);
}
});