decord/source/modules/user_profile/native/openUserContextMenuCommands.tsx

33 lines
1.3 KiB
TypeScript
Raw Normal View History

2026-08-25 06:04:03 +00:00
// Module ID: 12474
// Function ID: 12475
2026-07-20 16:05:17 +00:00
// Name: openUserContextMenuCommands
2026-08-25 06:04:03 +00:00
// Dependencies: [8936, 4347, 4234, 1955, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-08-25 06:04:03 +00:00
// Module 12474 (openUserContextMenuCommands)
2026-08-24 06:08:38 +00:00
import set from "set" /* 2 */;
2026-08-25 06:04:03 +00:00
import ACTION_SHEET_HEIGHT_HALFDefault from "ACTION_SHEET_HEIGHT_HALF" /* 4347 */;
2026-08-24 06:08:38 +00:00
let result = set.fileFinishedImporting("modules/user_profile/native/openUserContextMenuCommands.tsx");
2026-07-20 16:05:17 +00:00
export default function openUserContextMenuCommands(analyticsLocations) {
analyticsLocations = analyticsLocations.analyticsLocations;
({ userId, selectedChannel, showUserProfile } = analyticsLocations);
2026-08-25 06:04:03 +00:00
let obj = analyticsLocations(8936);
2026-07-20 16:05:17 +00:00
const result = obj.trackUserProfileAction({ action: "PRESS_VIEW_APP_COMMANDS", analyticsLocations });
2026-08-24 06:08:38 +00:00
ACTION_SHEET_HEIGHT_HALFDefault.hideActionSheet();
const obj2 = ACTION_SHEET_HEIGHT_HALFDefault;
2026-07-20 16:05:17 +00:00
obj = {
channel: selectedChannel,
2026-08-25 06:04:03 +00:00
commandType: analyticsLocations(1955).ApplicationCommandType.USER,
2026-07-20 16:05:17 +00:00
commandTargetId: userId,
onClose: showUserProfile,
onPressAppCommand() {
2026-08-24 06:08:38 +00:00
let obj = analyticsLocations(closure_1_2[0]);
2026-07-20 16:05:17 +00:00
obj = { action: "PRESS_APP_COMMAND", analyticsLocations };
return obj.trackUserProfileAction(obj);
}
};
2026-08-25 06:04:03 +00:00
const result1 = analyticsLocations(4234).navigateToContextMenuCommands(obj);
2026-07-20 16:05:17 +00:00
};