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

25 lines
906 B
TypeScript
Raw Normal View History

// Module ID: 4840
// Function ID: 4841
2026-07-20 16:05:17 +00:00
// Name: transitionToStream
// Dependencies: [1958, 4605, 4841, 4845, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
// Module 4840 (transitionToStream)
import ActionSheetActionCreatorsDefault from "ActionSheetActionCreators" /* 4605 */;
import ModalActionCreatorsDefault from "ModalActionCreators" /* 4841 */;
import PrivateChannelCallUtils from "PrivateChannelCallUtils" /* 4845 */;
import ChannelStore from "ChannelStore" /* 1958 */;
2026-07-23 10:11:24 +00:00
require = fn;
const size = fn(2);
const result = size.fileFinishedImporting("modules/go_live/utils/transitionToStream.native.tsx");
2026-07-20 16:05:17 +00:00
export default function transitionToStream(channelId) {
const channel = ChannelStore.getChannel(channelId.channelId);
2026-07-20 16:05:17 +00:00
if (null != channel) {
ActionSheetActionCreatorsDefault.hideActionSheet();
ModalActionCreatorsDefault.popAll();
PrivateChannelCallUtils.openGuildVoiceModal(channel, "Go Live");
2026-07-20 16:05:17 +00:00
}
};