decord/source/modules/user_profile/native/openUserContextMenuCommands.tsx
2026-08-28 06:19:39 +00:00

32 lines
1.3 KiB
TypeScript

// Module ID: 9024
// Function ID: 9025
// Name: openUserContextMenuCommands
// Dependencies: [8505, 4413, 4300, 1956, 2]
// Exports: default
// Module 9024 (openUserContextMenuCommands)
import set from "set" /* 2 */;
import ACTION_SHEET_HEIGHT_HALFDefault from "ACTION_SHEET_HEIGHT_HALF" /* 4413 */;
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(8505);
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(1956).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(4300).navigateToContextMenuCommands(obj);
};