decord/source/modules/user_profile/native/UserProfileConfirmCancelFriendRequest.tsx

39 lines
1.6 KiB
TypeScript
Raw Normal View History

2026-08-24 06:08:38 +00:00
// Module ID: 11841
// Function ID: 11842
2026-07-20 16:05:17 +00:00
// Name: UserProfileConfirmCancelFriendRequest
2026-08-24 06:08:38 +00:00
// Dependencies: [19, 21, 4667, 1236, 4667, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-08-24 06:08:38 +00:00
// Module 11841 (UserProfileConfirmCancelFriendRequest)
import noopAll from "noop" /* 19 */;
import getSystemLocale from "getSystemLocale" /* 1236 */;
import getAlertModalItemKey from "getAlertModalItemKey" /* 4667 */;
import jsxProd from "jsxProd" /* 21 */;
2026-07-23 10:11:24 +00:00
2026-08-24 06:08:38 +00:00
require = arg1;
noopAll;
2026-07-29 08:29:29 +00:00
({ jsx: obj1, jsxs: c3 } = jsxProd);
2026-08-24 06:08:38 +00:00
const result = require("set").fileFinishedImporting("modules/user_profile/native/UserProfileConfirmCancelFriendRequest.tsx");
2026-07-20 16:05:17 +00:00
export default function UserProfileConfirmCancelFriendRequest(arg0) {
({ userDisplayName, onConfirm } = arg0);
2026-07-29 08:29:29 +00:00
let obj = { title: null, content: null, actions: null };
2026-08-24 06:08:38 +00:00
const intl = getSystemLocale.intl;
obj[0] = intl.string(getSystemLocale.t["bTfA//"]);
const intl2 = getSystemLocale.intl;
obj[1] = intl2.formatToPlainString(getSystemLocale.t["72FwjH"], { name: userDisplayName });
2026-07-29 08:29:29 +00:00
obj = { children: null };
obj = { variant: "destructive", text: null, onPress: null };
2026-08-24 06:08:38 +00:00
const intl3 = getSystemLocale.intl;
obj[1] = intl3.string(getSystemLocale.t["bTfA//"]);
2026-07-29 08:29:29 +00:00
obj[2] = onConfirm;
2026-08-24 06:08:38 +00:00
const items = [callback(getAlertModalItemKey.AlertActionButton, obj, "cancel-friend-request"), ];
obj1 = { variant: "secondary", text: null };
const intl4 = getSystemLocale.intl;
obj1[1] = intl4.string(getSystemLocale.t["eN6+rI"]);
items[1] = callback(getAlertModalItemKey.AlertActionButton, obj1, "nevermind");
2026-07-29 08:29:29 +00:00
obj[0] = items;
2026-08-24 06:08:38 +00:00
obj[2] = callback2(getAlertModalItemKey.AlertActions, obj);
return callback(getAlertModalItemKey.AlertModal, obj);
2026-07-20 16:05:17 +00:00
};