diff --git a/src/components/LHNOptionsList/OptionRowLHN.js b/src/components/LHNOptionsList/OptionRowLHN.js index 9e50c4b1690a..6e244f55efec 100644 --- a/src/components/LHNOptionsList/OptionRowLHN.js +++ b/src/components/LHNOptionsList/OptionRowLHN.js @@ -302,7 +302,7 @@ function OptionRowLHN(props) { )} - {!shouldShowGreenDotIndicator && optionItem.isPinned && ( + {!shouldShowGreenDotIndicator && !hasBrickError && optionItem.isPinned && ( { + Link.openExternalLink(CONST.NEW_ZOOM_MEETING_URL); + }), + }); + threeDotsMenuItems.push({ + icon: GoogleMeetIcon, + text: translate('videoChatButtonAndMenu.googleMeet'), + onSelected: Session.checkIfActionIsAllowed(() => { + Link.openExternalLink(CONST.NEW_GOOGLE_MEET_MEETING_URL); + }), + }); + } + return ( Navigation.goBack(ROUTES.HOME, false, true)} // Shows border if no buttons or next steps are showing below the header shouldShowBorderBottom={!(shouldShowAnyButton && isSmallScreenWidth) && !(shouldShowNextSteps && !isSmallScreenWidth)} + shouldShowThreeDotsButton + threeDotsMenuItems={threeDotsMenuItems} + threeDotsAnchorPosition={styles.threeDotsPopoverOffsetNoCloseButton(windowWidth)} > {shouldShowSettlementButton && !isSmallScreenWidth && ( diff --git a/src/pages/home/report/ContextMenu/ContextMenuActions.js b/src/pages/home/report/ContextMenu/ContextMenuActions.js index 6f26ce0cba1c..5f7aa3cd7591 100644 --- a/src/pages/home/report/ContextMenu/ContextMenuActions.js +++ b/src/pages/home/report/ContextMenu/ContextMenuActions.js @@ -428,8 +428,7 @@ export default [ isAnonymousAction: false, textTranslateKey: 'common.pin', icon: Expensicons.Pin, - shouldShow: (type, reportAction, isArchivedRoom, betas, anchor, isChronosReport, reportID, isPinnedChat) => - type === CONTEXT_MENU_TYPES.REPORT && !isPinnedChat && !ReportUtils.isMoneyRequestReport(reportID), + shouldShow: (type, reportAction, isArchivedRoom, betas, anchor, isChronosReport, reportID, isPinnedChat) => type === CONTEXT_MENU_TYPES.REPORT && !isPinnedChat, onPress: (closePopover, {reportID}) => { Report.togglePinnedState(reportID, false); if (closePopover) { @@ -442,8 +441,7 @@ export default [ isAnonymousAction: false, textTranslateKey: 'common.unPin', icon: Expensicons.Pin, - shouldShow: (type, reportAction, isArchivedRoom, betas, anchor, isChronosReport, reportID, isPinnedChat) => - type === CONTEXT_MENU_TYPES.REPORT && isPinnedChat && !ReportUtils.isMoneyRequestReport(reportID), + shouldShow: (type, reportAction, isArchivedRoom, betas, anchor, isChronosReport, reportID, isPinnedChat) => type === CONTEXT_MENU_TYPES.REPORT && isPinnedChat, onPress: (closePopover, {reportID}) => { Report.togglePinnedState(reportID, true); if (closePopover) {