Files
discord-decomp/sources/modules/channel/native/ChannelActionSheetUtils.tsx
T
2026-07-28 01:06:53 +03:00

23 lines
1.6 KiB
TypeScript

/* Metro module 12148; source: modules/channel/native/ChannelActionSheetUtils.tsx; dependencies: [4800, 6797, 3856, 2] */
import * as FileImportTrackerModule from '../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
import * as ToastUtilsModule from '../../toast/native/ToastUtils.tsx'; /* Metro dependency 3856 */
import * as ChannelUtilsModule from '../../../utils/ChannelUtils.tsx'; /* Metro dependency 4800 */
import * as ClipboardUtilsNativeModule from '../../../utils/ClipboardUtils.native.tsx'; /* Metro dependency 6797 */
function _fun93209(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#93209, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12334:6, offset: 0x020aada7, size: 96 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
(FileImportTrackerModule).fileFinishedImporting('modules/channel/native/ChannelActionSheetUtils.tsx');
exports.copyGuildChannelOrThreadLink = copyGuildChannelOrThreadLink;
function copyGuildChannelOrThreadLink(a0, a1) { // fn#93210, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12334:207, offset: 0x020aae07, size: 89 bytes, params: 3, frame: 16
let value = ChannelUtilsModule;
value = value.getChannelPermalink(a0, a1);
(ClipboardUtilsNativeModule).copy(value);
(ToastUtilsModule).presentLinkCopied();
}
}
global.__d(_fun93209, 12148, [4800, 6797, 3856, 2]) /* metro module 12148, dependencies: [4800, 6797, 3856, 2] */;