@@ -9,7 +9,7 @@ import StatusBadge from '@components/StatusBadge';
99import useLocalize from '@hooks/useLocalize' ;
1010import useTheme from '@hooks/useTheme' ;
1111import useThemeStyles from '@hooks/useThemeStyles' ;
12- import { getReportStatusColorStyle , getReportStatusTranslation , getStatusBadgeBackgroundColor } from '@libs/ReportUtils' ;
12+ import { getReportStatusColorStyle , getReportStatusTooltipTranslation , getReportStatusTranslation , getStatusBadgeBackgroundColor } from '@libs/ReportUtils' ;
1313import CONST from '@src/CONST' ;
1414import type { ExpenseReportListItemType , TransactionListItemType , TransactionReportGroupListItemType } from './types' ;
1515import UserInfoCellsWithArrow from './UserInfoCellsWithArrow' ;
@@ -35,6 +35,7 @@ function UserInfoAndActionButtonRow({
3535 const statusText = getReportStatusTranslation ( { stateNum, statusNum, translate} ) ;
3636 const reportStatusColorStyle = getReportStatusColorStyle ( theme , stateNum , statusNum ) ;
3737 const badgeBackgroundColor = getStatusBadgeBackgroundColor ( theme , stateNum , statusNum , undefined , isSelected ) ;
38+ const tooltipText = getReportStatusTooltipTranslation ( { stateNum, statusNum, translate} ) ;
3839 const participantFromDisplayName = item . formattedFrom ?? item ?. from ?. displayName ?? '' ;
3940 return (
4041 < View style = { [ styles . pt0 , styles . flexRow , styles . alignItemsCenter , shouldShowUserInfo ? styles . justifyContentBetween : styles . justifyContentEnd , styles . gap2 , containerStyles ] } >
@@ -58,6 +59,7 @@ function UserInfoAndActionButtonRow({
5859 text = { statusText }
5960 backgroundColor = { badgeBackgroundColor }
6061 textColor = { reportStatusColorStyle . textColor }
62+ tooltipText = { tooltipText }
6163 />
6264 ) }
6365 </ View >
0 commit comments