decord/source/modules/user_profile/native/openUserContextMenuCommands.tsx
2026-07-31 08:44:05 +00:00

32 lines
1.2 KiB
TypeScript

// Module ID: 11980
// Function ID: 11981
// Name: openUserContextMenuCommands
// Dependencies: [8112, 4161, 4044, 1906, 2]
// Exports: default
// Module 11980 (openUserContextMenuCommands)
let result = require("navigationToRootTabHelper").fileFinishedImporting("modules/user_profile/native/openUserContextMenuCommands.tsx");
export default function openUserContextMenuCommands(analyticsLocations) {
let selectedChannel;
let showUserProfile;
let userId;
analyticsLocations = analyticsLocations.analyticsLocations;
({ userId, selectedChannel, showUserProfile } = analyticsLocations);
let obj = analyticsLocations(8112);
const result = obj.trackUserProfileAction({ action: "PRESS_VIEW_APP_COMMANDS", analyticsLocations });
importDefault(4161).hideActionSheet();
const obj2 = importDefault(4161);
obj = {
channel: selectedChannel,
commandType: analyticsLocations(1906).ApplicationCommandType.USER,
commandTargetId: userId,
onClose: showUserProfile,
onPressAppCommand() {
let obj = analyticsLocations(outer1_2[0]);
obj = { action: "PRESS_APP_COMMAND", analyticsLocations };
return obj.trackUserProfileAction(obj);
}
};
const result1 = analyticsLocations(4044).navigateToContextMenuCommands(obj);
};