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,30 @@
// Metro module 8134 (f8135).
import { create } from "../../../_bundle/Module644";
import { batchUpdates } from "../../../_bundle/Module705";
const r15 = create((c16280_0) => ({
lockKeys: new Set(),
requestFreezeLock: ({ key, lockEnabled }) => {
batchUpdates(() => {
c16280_0((a0) => {
const lockKeys = a0.lockKeys;
const r12 = lockKeys.has(key);
if (lockEnabled) {
return r12 ? a0 : {
...a0,
lockKeys: new Set([key, ...Array.from(a0.lockKeys)])
};
}
if (r12) {
const set = new Set(lockKeys);
set.delete(key);
return {
...a0,
lockKeys: set
};
}
return a0;
});
});
}
}));
export default r15;