Skip to content

Commit

Permalink
Merge pull request #8583 from Puneet-here/room-visibility-translation
Browse files Browse the repository at this point in the history
  • Loading branch information
thienlnam authored Apr 11, 2022
2 parents 98c8548 + 0b71a25 commit 0596be5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/pages/ReportSettingsPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,9 @@ class ReportSettingsPage extends Component {
<Text style={[styles.textLabelSupporting, styles.lh16, styles.mb1]} numberOfLines={1}>
{this.props.translate('newRoomPage.visibility')}
</Text>
<Text numberOfLines={1} style={[styles.reportSettingsVisibilityText]}>{this.props.report.visibility}</Text>
<Text numberOfLines={1} style={[styles.reportSettingsVisibilityText]}>
{this.props.translate(`newRoomPage.visibilityOptions.${this.props.report.visibility}`)}
</Text>
<Text style={[styles.textLabelSupporting, styles.mt1]}>
{
this.props.report.visibility === CONST.REPORT.VISIBILITY.RESTRICTED
Expand Down

0 comments on commit 0596be5

Please sign in to comment.