diff --git a/src/pages/home/report/ReportActionCompose.js b/src/pages/home/report/ReportActionCompose.js index d6374069b4fa..55eb81dac122 100644 --- a/src/pages/home/report/ReportActionCompose.js +++ b/src/pages/home/report/ReportActionCompose.js @@ -186,6 +186,7 @@ class ReportActionCompose extends React.Component { // focus this from the chat switcher. // https://github.com/Expensify/Expensify.cash/issues/1228 const inputDisable = this.props.isSmallScreenWidth && Navigation.isDrawerOpen(); + // eslint-disable-next-line no-unused-vars const hasMultipleParticipants = lodashGet(this.props.report, 'participants.length') > 1; return ( @@ -233,6 +234,11 @@ class ReportActionCompose extends React.Component { }, 10); }} onItemSelected={() => this.setMenuVisibility(false)} + menuOptions={[CONST.MENU_ITEM_KEYS.ATTACHMENT_PICKER]} + + /** + * Temporarily hiding IOU Modal options while Modal is incomplete. Will + * be replaced by a beta flag once IOUConfirm is completed. menuOptions={hasMultipleParticipants ? [ CONST.MENU_ITEM_KEYS.SPLIT_BILL, @@ -240,6 +246,7 @@ class ReportActionCompose extends React.Component { : [ CONST.MENU_ITEM_KEYS.REQUEST_MONEY, CONST.MENU_ITEM_KEYS.ATTACHMENT_PICKER]} + */ /> )} diff --git a/src/pages/home/sidebar/SidebarScreen.js b/src/pages/home/sidebar/SidebarScreen.js index ec6463c158ad..3965e65c3abb 100644 --- a/src/pages/home/sidebar/SidebarScreen.js +++ b/src/pages/home/sidebar/SidebarScreen.js @@ -88,12 +88,21 @@ class SidebarScreen extends Component { onClose={this.toggleCreateMenu} isVisible={this.state.isCreateMenuActive} onItemSelected={this.onCreateMenuItemSelected} + menuOptions={[ + CONST.MENU_ITEM_KEYS.NEW_CHAT, + CONST.MENU_ITEM_KEYS.NEW_GROUP, + ]} + + /** + * Temporarily hiding IOU Modal options while Modal is incomplete. Will + * be replaced by a beta flag once IOUConfirm is completed. menuOptions={[ CONST.MENU_ITEM_KEYS.NEW_CHAT, CONST.MENU_ITEM_KEYS.REQUEST_MONEY, CONST.MENU_ITEM_KEYS.NEW_GROUP, CONST.MENU_ITEM_KEYS.SPLIT_BILL, ]} + */ /> )}