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

35 lines
1.4 KiB
TypeScript
Raw Normal View History

2026-10-09 10:00:15 +00:00
// Module ID: 14671
// Function ID: 14672
// Name: openActivityShareLinkModal
2026-10-09 10:00:15 +00:00
// Dependencies: [4946, 5941, 14672, 2000, 2]
2026-07-20 16:05:17 +00:00
// Exports: closeActivityShareLinkModal, openActivityShareLinkModal
2026-10-09 10:00:15 +00:00
// Module 14671 (openActivityShareLinkModal)
import asyncRequire from "asyncRequire" /* 2000 */;
import ChatInputUtils from "ChatInputUtils" /* 4946 */;
import ModalActionCreatorsDefault from "ModalActionCreators" /* 5941 */;
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-09 10:00:15 +00:00
obj2.pushLazy(asyncRequire(14672, 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
};