16 lines
393 B
TypeScript
16 lines
393 B
TypeScript
// Metro module 14496 (f14497).
|
|
import LabFeatureStore from "./LabFeatureStore";
|
|
import Dispatcher from "../../Dispatcher";
|
|
let c10201_3 = {};
|
|
export function toggleLabFeature(a0, r3 = c10201_3) {
|
|
let enabled = r3.enabled;
|
|
if (enabled === void 0) {
|
|
enabled = !LabFeatureStore.get(a0);
|
|
}
|
|
Dispatcher.dispatch({
|
|
type: "LAB_FEATURE_TOGGLE",
|
|
labFeature: a0,
|
|
enabled
|
|
});
|
|
}
|