decord/source/modules/user_profile/native/UserProfileConfirmVideoUnstableConnection.tsx
2026-09-02 09:53:35 +00:00

37 lines
1.5 KiB
TypeScript

// Module ID: 9095
// Function ID: 9096
// Name: UserProfileConfirmVideoUnstableConnection
// Dependencies: [19, 21, 4863, 1233, 4863, 2]
// Exports: default
// Module 9095 (UserProfileConfirmVideoUnstableConnection)
import noopAll from "noop" /* 19 */;
import getSystemLocale from "getSystemLocale" /* 1233 */;
import getAlertModalItemKey from "getAlertModalItemKey" /* 4863 */;
import jsxProd from "jsxProd" /* 21 */;
require = arg1;
noopAll;
({ jsx: obj1, jsxs: c3 } = jsxProd);
const result = require("set").fileFinishedImporting("modules/user_profile/native/UserProfileConfirmVideoUnstableConnection.tsx");
export default function UserProfileConfirmVideoUnstableConnection(onConfirm) {
let obj = { title: null, content: null, actions: null };
const intl = getSystemLocale.intl;
obj[0] = intl.string(getSystemLocale.t.m2Hyj0);
const intl2 = getSystemLocale.intl;
obj[1] = intl2.string(getSystemLocale.t.EhaK6B);
obj = { children: null };
obj = { text: null, onPress: null };
const intl3 = getSystemLocale.intl;
obj[0] = intl3.string(getSystemLocale.t.ND1my3);
obj[1] = onConfirm.onConfirm;
const items = [callback(getAlertModalItemKey.AlertActionButton, obj, "confirm"), ];
obj1 = { variant: "secondary", text: null };
const intl4 = getSystemLocale.intl;
obj1[1] = intl4.string(getSystemLocale.t.jEqEhy);
items[1] = callback(getAlertModalItemKey.AlertActionButton, obj1, "cancel");
obj[0] = items;
obj[2] = callback2(getAlertModalItemKey.AlertActions, obj);
return callback(getAlertModalItemKey.AlertModal, obj);
};