Skip to content

Commit

Permalink
fix: added onBackButtonPress prop
Browse files Browse the repository at this point in the history
Merge pull request #16 from Tony-MK/dev/33797
  • Loading branch information
Tony-MK authored Jan 18, 2024
2 parents e7b8513 + d1b5b35 commit 5ce2f5e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pages/ReportParticipantsPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ function ReportParticipantsPage(props) {
{({safeAreaPaddingBottomStyle}) => (
<FullPageNotFoundView shouldShow={_.isEmpty(props.report) || ReportUtils.isArchivedRoom(props.report)}>
<HeaderWithBackButton
onBackButtonPress={() => Navigation.goBack(ROUTES.REPORT_WITH_ID_DETAILS.getRoute(props.report.reportID))}
title={props.translate(
ReportUtils.isChatRoom(props.report) ||
ReportUtils.isPolicyExpenseChat(props.report) ||
Expand Down

0 comments on commit 5ce2f5e

Please sign in to comment.