Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4821.js (118.4 MB)
30 lines
1.3 KiB
TypeScript
30 lines
1.3 KiB
TypeScript
// Module ID: 13122
|
|
// Function ID: 13123
|
|
// Name: openUserContextMenuCommands
|
|
// Dependencies: [8308, 4603, 4494, 1894, 2]
|
|
// Exports: default
|
|
|
|
// Module 13122 (openUserContextMenuCommands)
|
|
import ActionSheetActionCreatorsDefault from "ActionSheetActionCreators" /* 4603 */;
|
|
import UserProfileAnalyticsUtils from "UserProfileAnalyticsUtils" /* 8308 */;
|
|
import size from "module_2" /* 2 */;
|
|
|
|
let result = size.fileFinishedImporting("modules/user_profile/native/openUserContextMenuCommands.tsx");
|
|
|
|
export default function openUserContextMenuCommands(analyticsLocations) {
|
|
analyticsLocations = analyticsLocations.analyticsLocations;
|
|
({ userId, selectedChannel, showUserProfile } = analyticsLocations);
|
|
const result = analyticsLocations(8308).trackUserProfileAction({ action: "PRESS_VIEW_APP_COMMANDS", analyticsLocations });
|
|
const obj = analyticsLocations(8308);
|
|
ActionSheetActionCreatorsDefault.hideAllActionSheets();
|
|
const obj3 = analyticsLocations(4494);
|
|
const result1 = obj3.navigateToContextMenuCommands({
|
|
channel: selectedChannel,
|
|
commandType: analyticsLocations(1894).ApplicationCommandType.USER,
|
|
commandTargetId: userId,
|
|
onClose: showUserProfile,
|
|
onPressAppCommand() {
|
|
return UserProfileAnalyticsUtils.trackUserProfileAction({ action: "PRESS_APP_COMMAND", analyticsLocations });
|
|
}
|
|
});
|
|
};
|