This commit is contained in:
janisslsm committed 2026-11-01 12:12:55 +02:00
1 parent 1781d25a15
commit 732c0ad767
33051 files changed
+2591613 -3019689

No files matched your search

@@ -0,0 +1,40 @@
// Metro module 8217 (f8218).
import { EXPLICIT_END_EVENT_SHEET_KEY } from "./GuildScheduledEventsConstants";
import { GUILD_EVENT_INFO_ACTION_SHEET_KEY } from "./native/GuildEventModalConstants";
import ActionSheetActionCreators from "../action_sheet/native/ActionSheetActionCreators";
import { getNextRecurrenceIdInEvent } from "./utils/ScheduleUtils";
const openGuildEventDetails = function openGuildEventDetails(a0) {
const { eventId, event, onClose } = a0;
let recurrenceId = a0.recurrenceId;
const r23 = import("./native/components/GuildScheduledEventDetailsActionSheet");
if (recurrenceId == null) {
recurrenceId = getNextRecurrenceIdInEvent(event);
}
if (recurrenceId == null) {
recurrenceId = void 0;
}
ActionSheetActionCreators.openLazy(r23, GUILD_EVENT_INFO_ACTION_SHEET_KEY, {
eventId,
event,
onCloseActionSheet: onClose,
recurrenceId
}, "stack");
};
export { openGuildEventDetails };
export async function transitionToEventDetailsFromInvite(c26149_0, c26149_1) {
let c26149_3;
c26149_3 = void 0;
let c29921_0 = c26149_0;
let c29921_1 = c26149_1;
await Promise.resolve();
openGuildEventDetails({
eventId: c29921_0.id,
event: c29921_0,
recurrenceId: c29921_1?.recurrenceId
});
}
export function openEndEventModal(a0) {
ActionSheetActionCreators.openLazy(import("./native/components/EndEventActionSheet"), EXPLICIT_END_EVENT_SHEET_KEY, {
channel: a0
});
}