Skip to content

Commit fe08e21

Browse files
Merge pull request Expensify#59817 from FitseTLT/fix-numberOfLinesTitle-for-category-money-request-view
Fix - Category - Long category name is not broken into multiple lines on request detailed
2 parents 38a7283 + b1a6536 commit fe08e21

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/components/ReportActionItem/MoneyRequestView.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -459,6 +459,7 @@ function MoneyRequestView({report, shouldShowAnimatedBackground, readonly = fals
459459
<MenuItemWithTopDescription
460460
description={name ?? translate('common.tag')}
461461
title={tagForDisplay}
462+
numberOfLinesTitle={2}
462463
interactive={canEdit}
463464
shouldShowRightIcon={canEdit}
464465
titleStyle={styles.flex1}
@@ -672,6 +673,7 @@ function MoneyRequestView({report, shouldShowAnimatedBackground, readonly = fals
672673
<MenuItemWithTopDescription
673674
description={translate('common.category')}
674675
title={updatedTransaction?.category ?? transactionCategory}
676+
numberOfLinesTitle={2}
675677
interactive={canEdit}
676678
shouldShowRightIcon={canEdit}
677679
titleStyle={styles.flex1}

0 commit comments

Comments
 (0)