decord/source/modules/go_live/utils/transitionToStream.native.tsx

27 lines
957 B
TypeScript
Raw Normal View History

2026-08-28 06:19:39 +00:00
// Module ID: 4688
// Function ID: 4689
2026-07-20 16:05:17 +00:00
// Name: transitionToStream
2026-08-28 06:19:39 +00:00
// Dependencies: [1391, 4413, 4689, 4693, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-08-28 06:19:39 +00:00
// Module 4688 (transitionToStream)
import ACTION_SHEET_HEIGHT_HALFDefault from "ACTION_SHEET_HEIGHT_HALF" /* 4413 */;
import _modDef4689 from "module_4689" /* 4689 */;
import openChannelCallModal from "openChannelCallModal" /* 4693 */;
2026-08-24 06:08:38 +00:00
import closure_3 from "ensureGuildLoaded" /* 1391 */;
2026-07-23 10:11:24 +00:00
2026-08-24 06:08:38 +00:00
require = arg1;
const result = require("set").fileFinishedImporting("modules/go_live/utils/transitionToStream.native.tsx");
2026-07-20 16:05:17 +00:00
export default function transitionToStream(channelId) {
2026-07-23 10:11:24 +00:00
channel = channel.getChannel(channelId.channelId);
2026-07-20 16:05:17 +00:00
if (null != channel) {
2026-08-24 06:08:38 +00:00
ACTION_SHEET_HEIGHT_HALFDefault.hideActionSheet();
const obj = ACTION_SHEET_HEIGHT_HALFDefault;
2026-08-28 06:19:39 +00:00
_modDef4689.popAll();
const obj2 = _modDef4689;
2026-08-24 06:08:38 +00:00
openChannelCallModal.openGuildVoiceModal(channel, "Go Live");
const obj3 = openChannelCallModal;
2026-07-20 16:05:17 +00:00
}
};