decord/source/modules/voice_calls/native/ConfirmStartCall.tsx

42 lines
1.8 KiB
TypeScript
Raw Normal View History

2026-08-08 06:10:11 +00:00
// Module ID: 12521
// Function ID: 12522
2026-07-20 16:05:17 +00:00
// Name: ConfirmStartCall
2026-08-08 06:10:11 +00:00
// Dependencies: [19, 21, 4647, 1236, 4647, 4644, 2]
2026-07-20 16:05:17 +00:00
// Exports: confirmStartCall
2026-08-08 06:10:11 +00:00
// Module 12521 (ConfirmStartCall)
2026-07-29 08:29:29 +00:00
import "noop";
2026-07-23 10:11:24 +00:00
import jsxProd from "jsxProd";
2026-07-29 08:29:29 +00:00
let c3;
let obj1;
2026-07-23 10:11:24 +00:00
const require = arg1;
2026-07-20 16:05:17 +00:00
function ConfirmStartCall(onConfirm) {
2026-07-29 08:29:29 +00:00
let obj = { title: null, content: null, actions: null };
const intl = require(1236) /* getSystemLocale */.intl;
obj[0] = intl.string(require(1236) /* getSystemLocale */.t.HlAPoq);
const intl2 = require(1236) /* getSystemLocale */.intl;
obj[1] = intl2.string(require(1236) /* getSystemLocale */.t["cRW4D/"]);
obj = { children: null };
obj = { variant: "active", text: null, onPress: null };
const intl3 = require(1236) /* getSystemLocale */.intl;
obj[1] = intl3.string(require(1236) /* getSystemLocale */.t.rimG2R);
obj[2] = onConfirm.onConfirm;
2026-08-08 06:10:11 +00:00
const items = [callback(require(4647) /* getAlertModalItemKey */.AlertActionButton, obj, "confirm"), ];
2026-07-29 08:29:29 +00:00
const obj1 = { variant: "secondary", text: null };
const intl4 = require(1236) /* getSystemLocale */.intl;
obj1[1] = intl4.string(require(1236) /* getSystemLocale */.t["ETE/oC"]);
2026-08-08 06:10:11 +00:00
items[1] = callback(require(4647) /* getAlertModalItemKey */.AlertActionButton, obj1, "cancel");
2026-07-29 08:29:29 +00:00
obj[0] = items;
2026-08-08 06:10:11 +00:00
obj[2] = callback2(require(4647) /* getAlertModalItemKey */.AlertActions, obj);
return callback(require(4647) /* getAlertModalItemKey */.AlertModal, obj);
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
({ jsx: obj1, jsxs: c3 } = jsxProd);
2026-07-23 10:11:24 +00:00
const result = require("getAlertModalItemKey").fileFinishedImporting("modules/voice_calls/native/ConfirmStartCall.tsx");
2026-07-20 16:05:17 +00:00
export const confirmStartCall = function confirmStartCall(fn) {
2026-08-08 06:10:11 +00:00
let obj = require(4644) /* useAlertStore */;
2026-07-20 16:05:17 +00:00
obj = { onConfirm: fn };
obj.openAlert("start-voice-call", callback(ConfirmStartCall, obj));
};