This commit is contained in:
janisslsm committed 2026-11-01 12:12:55 +02:00
1 parent 1781d25a15
commit 732c0ad767
33051 files changed
+2591613 -3019689

No files matched your search

@@ -0,0 +1,26 @@
// Metro module 10270 (f10271).
import { Storage } from "../../../_bundle/Module595";
import { createWithEqualityFn } from "../../../_bundle/identity_700";
import { shallow } from "../../../_bundle/Module3802";
let c6855_2 = "InAppMessageSoundsEnabled";
const withEqualityFn = createWithEqualityFn(() => {
let isEnabled = Storage.get(c6855_2);
if (isEnabled == null) {
isEnabled = true;
}
return {
isEnabled
};
});
export function isInAppMessageSoundsEnabled() {
return withEqualityFn.getState().isEnabled;
}
export function setInAppMessageSoundsEnabled(a0) {
Storage.set(c6855_2, a0);
withEqualityFn.setState({
isEnabled: a0
});
}
export function useInAppMessageSoundsEnabled() {
return withEqualityFn((a0) => a0.isEnabled, shallow);
}