2026-09-14 20:04:03 +00:00
|
|
|
// Module ID: 13123
|
|
|
|
|
// Function ID: 13124
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: openUserContextMenuCommands
|
2026-09-12 13:45:10 +00:00
|
|
|
// Dependencies: [8308, 4603, 4494, 1894, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: default
|
|
|
|
|
|
2026-09-14 20:04:03 +00:00
|
|
|
// Module 13123 (openUserContextMenuCommands)
|
2026-09-12 13:45:10 +00:00
|
|
|
import ActionSheetActionCreatorsDefault from "ActionSheetActionCreators" /* 4603 */;
|
|
|
|
|
import UserProfileAnalyticsUtils from "UserProfileAnalyticsUtils" /* 8308 */;
|
2026-09-10 05:38:07 +00:00
|
|
|
import size from "module_2" /* 2 */;
|
2026-08-24 06:08:38 +00:00
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
let result = size.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-09-12 13:45:10 +00:00
|
|
|
const result = analyticsLocations(8308).trackUserProfileAction({ action: "PRESS_VIEW_APP_COMMANDS", analyticsLocations });
|
|
|
|
|
const obj = analyticsLocations(8308);
|
2026-09-10 05:38:07 +00:00
|
|
|
ActionSheetActionCreatorsDefault.hideAllActionSheets();
|
2026-09-12 13:45:10 +00:00
|
|
|
const obj3 = analyticsLocations(4494);
|
2026-09-10 05:38:07 +00:00
|
|
|
const result1 = obj3.navigateToContextMenuCommands({
|
2026-07-20 16:05:17 +00:00
|
|
|
channel: selectedChannel,
|
2026-09-05 10:56:28 +00:00
|
|
|
commandType: analyticsLocations(1894).ApplicationCommandType.USER,
|
2026-07-20 16:05:17 +00:00
|
|
|
commandTargetId: userId,
|
|
|
|
|
onClose: showUserProfile,
|
|
|
|
|
onPressAppCommand() {
|
2026-09-10 05:38:07 +00:00
|
|
|
return UserProfileAnalyticsUtils.trackUserProfileAction({ action: "PRESS_APP_COMMAND", analyticsLocations });
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
2026-09-10 05:38:07 +00:00
|
|
|
});
|
2026-07-20 16:05:17 +00:00
|
|
|
};
|