Files
discord-decomp/modules/voice_panel/native/prejoin/VoicePanelPreJoinUtils.tsx
T
2026-11-01 12:12:55 +02:00

25 lines
658 B
TypeScript

// Metro module 15985 (f15986).
import shallowEqual from "../../../../_bundle/shallowEqual";
export function areVoicePanelPreJoinContentPropsEqual(a0, a1) {
if (a0 != null && a1 != null) {
if (!shallowEqual(a0, a1, ["streamingMembers"])) {
return false;
}
let r30 = 0;
for (const streamingMember of a0.streamingMembers) {
const r36 = streamingMember;
const r39 = a1.streamingMembers[r30];
if (r39 != null) {
if (r36[0] === r39[0] && r36[1] === r39[1]) {
r30 = r30 + 1;
continue;
}
return false;
}
return false;
}
return true;
}
return a0 === a1;
}