22 lines
738 B
TypeScript
22 lines
738 B
TypeScript
// Metro module 15362 (f15363).
|
|
import ICYMIActionCreators from "../../ICYMIActionCreators";
|
|
import ActionSheetActionCreators from "../../../action_sheet/native/ActionSheetActionCreators";
|
|
export function openDetailsActionSheet({ guildId, channelId, id, type }) {
|
|
ICYMIActionCreators.itemInteracted(id, type, "overflow_menu");
|
|
ICYMIActionCreators.feedItemActioned({
|
|
itemId: id,
|
|
itemType: type,
|
|
actionParameters: {
|
|
actionGestureType: "press",
|
|
actionTargetElement: "overflow_menu_button",
|
|
actionIntentType: "open",
|
|
actionDestinationType: null
|
|
}
|
|
});
|
|
ActionSheetActionCreators.openLazy(import("../ItemDetailsActionSheet"), "ItemDetailsActionSheet", {
|
|
guildId,
|
|
channelId,
|
|
id
|
|
});
|
|
}
|