decord/alpha/source/modules/activities/openActivityShareLinkModal.native.tsx

35 lines
1.4 KiB
TypeScript
Raw Normal View History

2026-10-05 08:00:40 +00:00
// Module ID: 14326
// Function ID: 14327
// Name: openActivityShareLinkModal
2026-10-05 08:00:40 +00:00
// Dependencies: [4745, 5093, 14327, 1987, 2]
2026-07-20 16:05:17 +00:00
// Exports: closeActivityShareLinkModal, openActivityShareLinkModal
2026-10-05 08:00:40 +00:00
// Module 14326 (openActivityShareLinkModal)
2026-10-03 08:58:59 +00:00
import asyncRequire from "asyncRequire" /* 1987 */;
import ChatInputUtils from "ChatInputUtils" /* 4745 */;
import ModalActionCreatorsDefault from "ModalActionCreators" /* 5093 */;
import size from "module_2" /* 2 */;
2026-08-24 06:08:38 +00:00
2026-07-29 08:29:29 +00:00
const ACTIVITY_SHARE_LINK_MODAL = "ACTIVITY_SHARE_LINK_MODAL";
const result = size.fileFinishedImporting("modules/activities/openActivityShareLinkModal.native.tsx");
2026-10-03 08:58:59 +00:00
const ACTIVITY_SHARE_LINK_MODAL_export = "ACTIVITY_SHARE_LINK_MODAL";
2026-07-20 16:05:17 +00:00
2026-10-03 08:58:59 +00:00
export { ACTIVITY_SHARE_LINK_MODAL_export as ACTIVITY_SHARE_LINK_MODAL };
2026-07-20 16:05:17 +00:00
export const openActivityShareLinkModal = function openActivityShareLinkModal(arg0) {
2026-10-03 08:58:59 +00:00
let applicationId;
let customId;
let linkId;
let message;
let onShare;
2026-07-20 16:05:17 +00:00
({ applicationId, customId, linkId, message, onShare } = arg0);
2026-10-03 08:58:59 +00:00
const obj = ChatInputUtils;
obj.dismissKeyboard();
const obj2 = ModalActionCreatorsDefault;
const obj3 = { applicationId, customId, linkId, message, onShare };
2026-10-05 08:00:40 +00:00
obj2.pushLazy(asyncRequire(14327, dependencyMap.paths), obj3, ACTIVITY_SHARE_LINK_MODAL, { presentation: "modal" });
2026-07-20 16:05:17 +00:00
};
export const closeActivityShareLinkModal = function closeActivityShareLinkModal() {
2026-10-03 08:58:59 +00:00
const obj = ModalActionCreatorsDefault;
obj.popWithKey(ACTIVITY_SHARE_LINK_MODAL);
2026-07-20 16:05:17 +00:00
};