Skip to content

Commit

Permalink
Merge pull request #20500 from gadhiyamanan/fix-20127
Browse files Browse the repository at this point in the history
fix room visibility description
  • Loading branch information
madmax330 authored Jun 9, 2023
2 parents 0a947cc + 8714ff1 commit 4dc58e7
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/pages/settings/Report/ReportSettingsPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,11 +199,7 @@ class ReportSettingsPage extends Component {
>
{this.props.translate(`newRoomPage.visibilityOptions.${this.props.report.visibility}`)}
</Text>
<Text style={[styles.textLabelSupporting, styles.mt1]}>
{this.props.report.visibility === CONST.REPORT.VISIBILITY.RESTRICTED
? this.props.translate('newRoomPage.restrictedDescription')
: this.props.translate('newRoomPage.privateDescription')}
</Text>
<Text style={[styles.textLabelSupporting, styles.mt1]}>{this.props.translate(`newRoomPage.${this.props.report.visibility}Description`)}</Text>
</View>
)}
</View>
Expand Down

0 comments on commit 4dc58e7

Please sign in to comment.