decord/alpha/source/actions/native/CreateGuildActionCreators.tsx
github-actions 45f5884862 chore: update source for alpha 348.2
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/05xxx/module_5012.js (118.4 MB)
2026-09-23 06:49:31 +00:00

29 lines
1,017 B
TypeScript

// Module ID: 13083
// Function ID: 13084
// Name: CreateGuildActionCreators
// Dependencies: [4460, 1074, 10162, 2]
// Exports: showInstantInviteModal
// Module 13083 (CreateGuildActionCreators)
import GuildChannelStore from "GuildChannelStore" /* 4460 */;
const require = fn;
const InstantInviteSources = fn(1074).InstantInviteSources;
const size = fn(2);
let result = size.fileFinishedImporting("actions/native/CreateGuildActionCreators.tsx");
export const showInstantInviteModal = function showInstantInviteModal(arg0) {
closure_0 = arg0;
let result = GuildChannelStore.addConditionalChangeListener(() => {
defaultChannel = GuildChannelStore.getDefaultChannel(defaultChannel);
let flag = null == defaultChannel;
if (!flag) {
const _setImmediate = setImmediate;
setImmediate(() => {
const result = defaultChannel(dependencyMap[2]).showInstantInviteActionSheet(defaultChannel, { source: constants.GUILD_CREATE });
});
flag = false;
}
return flag;
});
};