Skip to content

Commit

Permalink
Merge pull request #7223 from parasharrajat/roomdetails
Browse files Browse the repository at this point in the history
Trim Room title on the report details page
  • Loading branch information
iwiznia authored Jan 28, 2022
2 parents 64890c8 + c6d73fc commit c8d47a0
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions src/pages/ReportDetailsPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,15 +138,17 @@ class ReportDetailsPage extends Component {
imageStyles={[styles.singleAvatarLarge]}
source={this.props.report.icons[0]}
/>
<View style={styles.reportDetailsRoomInfo}>
<DisplayNames
fullTitle={this.props.report.reportName}
displayNamesWithTooltips={displayNamesWithTooltips}
tooltipEnabled
numberOfLines={1}
textStyles={[styles.headerText, styles.mb2]}
shouldUseFullTitle={isChatRoom}
/>
<View style={[styles.reportDetailsRoomInfo, styles.mw100]}>
<View style={[styles.alignSelfCenter, styles.w100]}>
<DisplayNames
fullTitle={this.props.report.reportName}
displayNamesWithTooltips={displayNamesWithTooltips}
tooltipEnabled
numberOfLines={1}
textStyles={[styles.headerText, styles.mb2]}
shouldUseFullTitle={isChatRoom}
/>
</View>
<Text
style={[
styles.sidebarLinkText,
Expand Down

0 comments on commit c8d47a0

Please sign in to comment.