Skip to content

Refactor Popup setting of "snowflake-enabled"

David Fifield requested to merge dcf/snowflake-webext:boolean-refactor into main

Instead of:

	if (v) {
		f(true);
	} else {
		f(false);
	}

do:

	f(v);

Compare to the existing:

	(event) => port.postMessage({ enabled: event.target.checked }),

Merge request reports

Loading