diff --git a/src/pages/ReportDetailsPage.js b/src/pages/ReportDetailsPage.js index abfe625f1508..dac1f42269d2 100644 --- a/src/pages/ReportDetailsPage.js +++ b/src/pages/ReportDetailsPage.js @@ -14,7 +14,6 @@ import participantPropTypes from '@components/participantPropTypes'; import PressableWithoutFeedback from '@components/Pressable/PressableWithoutFeedback'; import RoomHeaderAvatars from '@components/RoomHeaderAvatars'; import ScreenWrapper from '@components/ScreenWrapper'; -import Text from '@components/Text'; import withLocalize, {withLocalizePropTypes} from '@components/withLocalize'; import compose from '@libs/compose'; import Navigation from '@libs/Navigation/Navigation'; @@ -154,12 +153,13 @@ function ReportDetailsPage(props) { const icons = useMemo(() => ReportUtils.getIcons(props.report, props.personalDetails, props.policies), [props.report, props.personalDetails, props.policies]); const chatRoomSubtitleText = chatRoomSubtitle ? ( - - {chatRoomSubtitle} - + textStyles={[styles.sidebarLinkText, styles.textLabelSupporting, styles.pre, styles.mt1]} + shouldUseFullTitle + /> ) : null; return ( @@ -205,6 +205,7 @@ function ReportDetailsPage(props) { {isPolicyAdmin ? (