decord/source/modules/user_profile/native/openUserContextMenuCommands.tsx
github-actions 67d978d9fb chore: update source for alpha 346.0
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9672_m.js (378.6 MB)
2026-09-07 16:44:02 +00:00

32 lines
1.3 KiB
TypeScript

// Module ID: 12996
// Function ID: 12997
// Name: openUserContextMenuCommands
// Dependencies: [8191, 4527, 4417, 1894, 2]
// Exports: default
// Module 12996 (openUserContextMenuCommands)
import set from "set" /* 2 */;
import ACTION_SHEET_HEIGHT_HALFDefault from "ACTION_SHEET_HEIGHT_HALF" /* 4527 */;
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(8191);
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(1894).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(4417).navigateToContextMenuCommands(obj);
};