decord/source/modules/user_profile/native/openUserContextMenuCommands.tsx
2026-09-01 10:26:29 +00:00

32 lines
1.3 KiB
TypeScript

// Module ID: 9085
// Function ID: 9086
// Name: openUserContextMenuCommands
// Dependencies: [8559, 4445, 4332, 1955, 2]
// Exports: default
// Module 9085 (openUserContextMenuCommands)
import set from "set" /* 2 */;
import ACTION_SHEET_HEIGHT_HALFDefault from "ACTION_SHEET_HEIGHT_HALF" /* 4445 */;
let result = set.fileFinishedImporting("modules/user_profile/native/openUserContextMenuCommands.tsx");
export default function openUserContextMenuCommands(analyticsLocations) {
analyticsLocations = analyticsLocations.analyticsLocations;
({ userId, selectedChannel, showUserProfile } = analyticsLocations);
let obj = analyticsLocations(8559);
const result = obj.trackUserProfileAction({ action: "PRESS_VIEW_APP_COMMANDS", analyticsLocations });
ACTION_SHEET_HEIGHT_HALFDefault.hideAllActionSheets();
const obj2 = ACTION_SHEET_HEIGHT_HALFDefault;
obj = {
channel: selectedChannel,
commandType: analyticsLocations(1955).ApplicationCommandType.USER,
commandTargetId: userId,
onClose: showUserProfile,
onPressAppCommand() {
let obj = analyticsLocations(closure_1_2[0]);
obj = { action: "PRESS_APP_COMMAND", analyticsLocations };
return obj.trackUserProfileAction(obj);
}
};
const result1 = analyticsLocations(4332).navigateToContextMenuCommands(obj);
};