Skip to content

Commit

Permalink
fix room visibility translation
Browse files Browse the repository at this point in the history
  • Loading branch information
Puneet-here committed Apr 10, 2022
1 parent 43910fe commit 0b71a25
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 0b71a25

Please sign in to comment.