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

31 lines
1.3 KiB
TypeScript
Raw Normal View History

// Module ID: 13128
// Function ID: 13129
2026-07-20 16:05:17 +00:00
// Name: openUserContextMenuCommands
// Dependencies: [8311, 4606, 4497, 1895, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
// Module 13128 (openUserContextMenuCommands)
import ActionSheetActionCreatorsDefault from "ActionSheetActionCreators" /* 4606 */;
import UserProfileAnalyticsUtils from "UserProfileAnalyticsUtils" /* 8311 */;
import size from "module_2" /* 2 */;
2026-08-24 06:08:38 +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);
const result = analyticsLocations(8311).trackUserProfileAction({ action: "PRESS_VIEW_APP_COMMANDS", analyticsLocations });
const obj = analyticsLocations(8311);
ActionSheetActionCreatorsDefault.hideAllActionSheets();
const obj3 = analyticsLocations(4497);
const result1 = obj3.navigateToContextMenuCommands({
2026-07-20 16:05:17 +00:00
channel: selectedChannel,
commandType: analyticsLocations(1895).ApplicationCommandType.USER,
2026-07-20 16:05:17 +00:00
commandTargetId: userId,
onClose: showUserProfile,
onPressAppCommand() {
return UserProfileAnalyticsUtils.trackUserProfileAction({ action: "PRESS_APP_COMMAND", analyticsLocations });
2026-07-20 16:05:17 +00:00
}
});
2026-07-20 16:05:17 +00:00
};