decord/source/modules/integration_settings/native/useShowUnlinkChannelAlert.tsx

39 lines
1.3 KiB
TypeScript
Raw Normal View History

2026-07-28 08:39:19 +00:00
// Module ID: 10172
// Function ID: 78574
2026-07-20 16:05:17 +00:00
// Name: useShowUnlinkChannelAlert
2026-07-28 08:39:19 +00:00
// Dependencies: [5, 31, 7663, 4506, 1212, 4596, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-07-28 08:39:19 +00:00
// Module 10172 (useShowUnlinkChannelAlert)
2026-07-23 10:11:24 +00:00
import _isNativeReflectConstruct from "_isNativeReflectConstruct";
import result from "result";
const require = arg1;
const result = require("init").fileFinishedImporting("modules/integration_settings/native/useShowUnlinkChannelAlert.tsx");
2026-07-20 16:05:17 +00:00
export default function useShowUnlinkChannelAlert(arg0, arg1, arg2) {
2026-07-23 10:11:24 +00:00
let closure_0 = arg0;
let closure_1 = arg1;
let closure_2 = arg2;
2026-07-20 16:05:17 +00:00
// CreateGeneratorClosureLongIndex (0x67)
const items = [arg0, arg2];
2026-07-23 10:11:24 +00:00
callback = React.useCallback(callback(tmp), items);
2026-07-20 16:05:17 +00:00
const items1 = [arg1, callback];
return React.useCallback(() => {
2026-07-28 08:39:19 +00:00
let obj = callback2(4506);
2026-07-20 16:05:17 +00:00
obj = {};
2026-07-23 10:11:24 +00:00
const intl = callback(1212).intl;
obj.title = intl.string(callback(1212).t.JmUENg);
const intl2 = callback(1212).intl;
obj = { applicationName: callback2 };
obj.body = intl2.format(callback(1212).t["6l2osp"], obj);
const intl3 = callback(1212).intl;
obj.cancelText = intl3.string(callback(1212).t["ETE/oC"]);
const intl4 = callback(1212).intl;
obj.confirmText = intl4.string(callback(1212).t["cY+Oob"]);
2026-07-20 16:05:17 +00:00
obj.onConfirm = callback;
2026-07-28 08:39:19 +00:00
obj.confirmColor = callback2(4596).Colors.RED;
2026-07-20 16:05:17 +00:00
obj.show(obj);
}, items1);
};