decord/source/modules/user_profile/native/UserProfileConfirmRemoveFriend.tsx
github-actions 67d978d9fb chore: update source for alpha 346.0
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9672_m.js (378.6 MB)
2026-09-07 16:44:02 +00:00

38 lines
1.7 KiB
TypeScript

// Module ID: 12626
// Function ID: 12627
// Name: UserProfileConfirmRemoveFriend
// Dependencies: [19, 21, 4910, 1114, 4910, 2]
// Exports: default
// Module 12626 (UserProfileConfirmRemoveFriend)
import noopAll from "noop" /* 19 */;
import getSystemLocale from "getSystemLocale" /* 1114 */;
import getAlertModalItemKey from "getAlertModalItemKey" /* 4910 */;
import jsxProd from "jsxProd" /* 21 */;
require = arg1;
noopAll;
({ jsx: obj1, jsxs: c3 } = jsxProd);
const result = require("set").fileFinishedImporting("modules/user_profile/native/UserProfileConfirmRemoveFriend.tsx");
export default function UserProfileConfirmRemoveFriend(userDisplayName) {
userDisplayName = userDisplayName.userDisplayName;
let obj = { title: null, content: null, actions: null };
const intl = getSystemLocale.intl;
obj[0] = intl.formatToPlainString(getSystemLocale.t.fPLvZd, { name: userDisplayName });
const intl2 = getSystemLocale.intl;
obj[1] = intl2.formatToPlainString(getSystemLocale.t.l5FFq6, { name: userDisplayName });
obj = { children: null };
obj = { variant: "destructive", text: null, onPress: null };
const intl3 = getSystemLocale.intl;
obj[1] = intl3.string(getSystemLocale.t.cvSt1J);
obj[2] = userDisplayName.onConfirm;
const items = [callback(getAlertModalItemKey.AlertActionButton, obj, "confirm-remove"), ];
obj1 = { variant: "secondary", text: null };
const intl4 = getSystemLocale.intl;
obj1[1] = intl4.string(getSystemLocale.t["eN6+rI"]);
items[1] = callback(getAlertModalItemKey.AlertActionButton, obj1, "nevermind");
obj[0] = items;
obj[2] = callback2(getAlertModalItemKey.AlertActions, obj);
return callback(getAlertModalItemKey.AlertModal, obj);
};