From 76cb72682b00b016d9f0ab99f28a6366a7bdb1b6 Mon Sep 17 00:00:00 2001 From: saranshbalyan-1234 Date: Sat, 18 Nov 2023 13:52:23 +0530 Subject: [PATCH 1/2] long-workspace-name-fix --- src/pages/ReportDetailsPage.js | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/pages/ReportDetailsPage.js b/src/pages/ReportDetailsPage.js index 88d5ddec0c54..55d2e99fcbf2 100644 --- a/src/pages/ReportDetailsPage.js +++ b/src/pages/ReportDetailsPage.js @@ -154,12 +154,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 ( @@ -202,6 +203,7 @@ function ReportDetailsPage(props) { {isPolicyAdmin ? ( Date: Sat, 18 Nov 2023 14:11:49 +0530 Subject: [PATCH 2/2] lint fix --- src/pages/ReportDetailsPage.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/pages/ReportDetailsPage.js b/src/pages/ReportDetailsPage.js index 55d2e99fcbf2..d39af722a1df 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';