Skip to content

Commit

Permalink
Merge pull request #10199 from thesahindia/thesahindia/modal-navigation
Browse files Browse the repository at this point in the history
Don't navigate to homepage when ❌ is pressed
  • Loading branch information
stitesExpensify authored Aug 2, 2022
2 parents 2ec32ad + 2f082ae commit 3abf43f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/ReportSettingsPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ class ReportSettingsPage extends Component {
title={this.props.translate('common.settings')}
shouldShowBackButton
onBackButtonPress={() => Navigation.goBack()}
onCloseButtonPress={() => Navigation.dismissModal(true)}
onCloseButtonPress={() => Navigation.dismissModal()}
/>
<ScrollView style={styles.flex1} contentContainerStyle={styles.p5}>
<View>
Expand Down

0 comments on commit 3abf43f

Please sign in to comment.