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

33 lines
1.2 KiB
TypeScript
Raw Normal View History

2026-08-08 06:10:11 +00:00
// Module ID: 12265
// Function ID: 12266
2026-07-20 16:05:17 +00:00
// Name: openUserContextMenuCommands
2026-08-08 06:10:11 +00:00
// Dependencies: [8789, 4271, 4158, 1935, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-08-08 06:10:11 +00:00
// Module 12265 (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-08 06:10:11 +00:00
let obj = analyticsLocations(8789);
2026-07-20 16:05:17 +00:00
const result = obj.trackUserProfileAction({ action: "PRESS_VIEW_APP_COMMANDS", analyticsLocations });
2026-08-08 06:10:11 +00:00
importDefault(4271).hideActionSheet();
const obj2 = importDefault(4271);
2026-07-20 16:05:17 +00:00
obj = {
channel: selectedChannel,
2026-08-06 08:05:19 +00:00
commandType: analyticsLocations(1935).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-08 06:10:11 +00:00
const result1 = analyticsLocations(4158).navigateToContextMenuCommands(obj);
2026-07-20 16:05:17 +00:00
};