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

33 lines
1.2 KiB
TypeScript
Raw Normal View History

2026-08-05 07:35:12 +00:00
// Module ID: 12149
// Function ID: 12150
2026-07-20 16:05:17 +00:00
// Name: openUserContextMenuCommands
2026-08-05 07:35:12 +00:00
// Dependencies: [8683, 4223, 4106, 1906, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-08-05 07:35:12 +00:00
// Module 12149 (openUserContextMenuCommands)
2026-07-29 08:29:29 +00:00
let result = require("navigationToRootTabHelper").fileFinishedImporting("modules/user_profile/native/openUserContextMenuCommands.tsx");
2026-07-20 16:05:17 +00:00
export default function openUserContextMenuCommands(analyticsLocations) {
let selectedChannel;
let showUserProfile;
let userId;
analyticsLocations = analyticsLocations.analyticsLocations;
({ userId, selectedChannel, showUserProfile } = analyticsLocations);
2026-08-05 07:35:12 +00:00
let obj = analyticsLocations(8683);
2026-07-20 16:05:17 +00:00
const result = obj.trackUserProfileAction({ action: "PRESS_VIEW_APP_COMMANDS", analyticsLocations });
2026-08-05 07:35:12 +00:00
importDefault(4223).hideActionSheet();
const obj2 = importDefault(4223);
2026-07-20 16:05:17 +00:00
obj = {
channel: selectedChannel,
2026-07-29 08:29:29 +00:00
commandType: analyticsLocations(1906).ApplicationCommandType.USER,
2026-07-20 16:05:17 +00:00
commandTargetId: userId,
onClose: showUserProfile,
onPressAppCommand() {
2026-07-23 10:11:24 +00:00
let obj = analyticsLocations(outer1_2[0]);
2026-07-20 16:05:17 +00:00
obj = { action: "PRESS_APP_COMMAND", analyticsLocations };
return obj.trackUserProfileAction(obj);
}
};
2026-08-05 07:35:12 +00:00
const result1 = analyticsLocations(4106).navigateToContextMenuCommands(obj);
2026-07-20 16:05:17 +00:00
};