25 lines
1.2 KiB
TypeScript
25 lines
1.2 KiB
TypeScript
|
|
// Module ID: 14488
|
||
|
|
// Function ID: 14489
|
||
|
|
// Name: openActivityShareLinkModal
|
||
|
|
// Dependencies: [4425, 4763, 14489, 1896, 2]
|
||
|
|
// Exports: closeActivityShareLinkModal, openActivityShareLinkModal
|
||
|
|
|
||
|
|
// Module 14488 (openActivityShareLinkModal)
|
||
|
|
import asyncRequireImpl from "asyncRequireImpl" /* 1896 */;
|
||
|
|
import ChatInputUtils from "ChatInputUtils" /* 4425 */;
|
||
|
|
import ModalActionCreatorsDefault from "ModalActionCreators" /* 4763 */;
|
||
|
|
import size from "module_2" /* 2 */;
|
||
|
|
|
||
|
|
const ACTIVITY_SHARE_LINK_MODAL = "ACTIVITY_SHARE_LINK_MODAL";
|
||
|
|
const result = size.fileFinishedImporting("modules/activities/openActivityShareLinkModal.native.tsx");
|
||
|
|
|
||
|
|
export const ACTIVITY_SHARE_LINK_MODAL = "ACTIVITY_SHARE_LINK_MODAL";
|
||
|
|
export const openActivityShareLinkModal = function openActivityShareLinkModal(arg0) {
|
||
|
|
({ applicationId, customId, linkId, message, onShare } = arg0);
|
||
|
|
ChatInputUtils.dismissKeyboard();
|
||
|
|
ModalActionCreatorsDefault.pushLazy(asyncRequireImpl(14489, dependencyMap.paths), { applicationId, customId, linkId, message, onShare }, ACTIVITY_SHARE_LINK_MODAL, { presentation: "modal" });
|
||
|
|
};
|
||
|
|
export const closeActivityShareLinkModal = function closeActivityShareLinkModal() {
|
||
|
|
ModalActionCreatorsDefault.popWithKey(ACTIVITY_SHARE_LINK_MODAL);
|
||
|
|
};
|