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

+24
View File
@@ -0,0 +1,24 @@
// Metro module 5315 (f5316).
export function needsToReattach(a0, a1) {
if (a1.length !== a0.attachedGestures.length) {
return true;
}
const length = a1.length;
let r0 = 0;
if (0 < length) {
while (true) {
const handlerName = a1[r0].handlerName;
const handlerName2 = a0.attachedGestures[r0].handlerName;
const r1 = r0;
if (handlerName === handlerName2 && a1[r1].shouldUseReanimated === a0.attachedGestures[r1].shouldUseReanimated) {
r0 = r1 + 1;
if (r0 < a1.length) {
continue;
}
break;
}
return true;
}
}
return false;
}