Refactor Popup setting of "snowflake-enabled"
Instead of:
if (v) {
f(true);
} else {
f(false);
}
do:
f(v);
Compare to the existing:
(event) => port.postMessage({ enabled: event.target.checked }),
Instead of:
if (v) {
f(true);
} else {
f(false);
}
do:
f(v);
Compare to the existing:
(event) => port.postMessage({ enabled: event.target.checked }),