34 lines
1.4 KiB
TypeScript
34 lines
1.4 KiB
TypeScript
// Module ID: 15070
|
|
// Function ID: 15071
|
|
// Name: openActivityShareLinkModal
|
|
// Dependencies: [4985, 5934, 15071, 2000, 2]
|
|
// Exports: closeActivityShareLinkModal, openActivityShareLinkModal
|
|
|
|
// Module 15070 (openActivityShareLinkModal)
|
|
import asyncRequire from "asyncRequire" /* 2000 */;
|
|
import ChatInputUtils from "ChatInputUtils" /* 4985 */;
|
|
import ModalActionCreatorsDefault from "ModalActionCreators" /* 5934 */;
|
|
import size from "module_2" /* 2 */;
|
|
|
|
const ACTIVITY_SHARE_LINK_MODAL = "ACTIVITY_SHARE_LINK_MODAL";
|
|
const result = size.fileFinishedImporting("modules/activities/openActivityShareLinkModal.native.tsx");
|
|
const ACTIVITY_SHARE_LINK_MODAL_export = "ACTIVITY_SHARE_LINK_MODAL";
|
|
|
|
export { ACTIVITY_SHARE_LINK_MODAL_export as ACTIVITY_SHARE_LINK_MODAL };
|
|
export const openActivityShareLinkModal = function openActivityShareLinkModal(arg0) {
|
|
let applicationId;
|
|
let customId;
|
|
let linkId;
|
|
let message;
|
|
let onShare;
|
|
({ applicationId, customId, linkId, message, onShare } = arg0);
|
|
const obj = ChatInputUtils;
|
|
obj.dismissKeyboard();
|
|
const obj2 = ModalActionCreatorsDefault;
|
|
const obj3 = { applicationId, customId, linkId, message, onShare };
|
|
obj2.pushLazy(asyncRequire(15071, dependencyMap.paths), obj3, ACTIVITY_SHARE_LINK_MODAL, { presentation: "modal" });
|
|
};
|
|
export const closeActivityShareLinkModal = function closeActivityShareLinkModal() {
|
|
const obj = ModalActionCreatorsDefault;
|
|
obj.popWithKey(ACTIVITY_SHARE_LINK_MODAL);
|
|
};
|