Skip to content

Commit

Permalink
Merge pull request #8310 from Expensify/cmartins-fixDetailsNav
Browse files Browse the repository at this point in the history
Fix Report Details navigation
  • Loading branch information
Justice Arthur authored Mar 29, 2022
2 parents cb1925c + 49ed68f commit ecb2150
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/pages/ReportDetailsPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,8 @@ class ReportDetailsPage extends Component {
<ScreenWrapper>
<HeaderWithCloseButton
title={this.props.translate('common.details')}
shouldShowBackButton
onBackButtonPress={() => Navigation.goBack()}
onCloseButtonPress={() => Navigation.dismissModal(true)}
onCloseButtonPress={() => Navigation.dismissModal()}
/>
<ScrollView style={[styles.flex1]}>
<View style={[styles.m5]}>
Expand Down

0 comments on commit ecb2150

Please sign in to comment.