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,8 @@
// Metro module 13506 (f13507).
import LifecycleManager from "../../../lib/LifecycleManager";
class CallKitLifecycleManager extends LifecycleManager {
_initialize() {}
_terminate() {}
}
const callKitLifecycleManager = new CallKitLifecycleManager();
export default callKitLifecycleManager;
+17
View File
@@ -0,0 +1,17 @@
// Metro module 7762 (f7763).
import CallStore from "../../../stores/CallStore";
import ChannelRTCStore from "../ChannelRTCStore";
import { ParticipantTypes } from "../CallConstants";
import { useStateFromStores } from "../../../_bundle/Module589";
let $mk79286 = function() {
return (a0) => a0.type === ParticipantTypes.USER && !a0.ringing;
};
export default function useIsCallActive(a0, a1) {
return useStateFromStores([CallStore, ChannelRTCStore], () => CallStore.isCallActive(a0, a1) && ChannelRTCStore.getParticipants(a0).some($mk79286()), [a0, a1]);
};
export function checkIsCallActive(a0, a1) {
return CallStore.isCallActive(a0, a1) && ChannelRTCStore.getParticipants(a0).some($mk79286());
}
export function useIsCallActiveNullable(a0, a1) {
return useStateFromStores([CallStore, ChannelRTCStore], () => a0 != null && (CallStore.isCallActive(a0, a1) && ChannelRTCStore.getParticipants(a0).some($mk79286())), [a0, a1]);
}