34 lines
1.4 KiB
TypeScript
34 lines
1.4 KiB
TypeScript
// Module ID: 14326
|
|
// Function ID: 14327
|
|
// Name: openActivityShareLinkModal
|
|
// Dependencies: [4745, 5093, 14327, 1987, 2]
|
|
// Exports: closeActivityShareLinkModal, openActivityShareLinkModal
|
|
|
|
// Module 14326 (openActivityShareLinkModal)
|
|
import asyncRequire from "asyncRequire" /* 1987 */;
|
|
import ChatInputUtils from "ChatInputUtils" /* 4745 */;
|
|
import ModalActionCreatorsDefault from "ModalActionCreators" /* 5093 */;
|
|
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(14327, dependencyMap.paths), obj3, ACTIVITY_SHARE_LINK_MODAL, { presentation: "modal" });
|
|
};
|
|
export const closeActivityShareLinkModal = function closeActivityShareLinkModal() {
|
|
const obj = ModalActionCreatorsDefault;
|
|
obj.popWithKey(ACTIVITY_SHARE_LINK_MODAL);
|
|
};
|