@@ -107,7 +107,7 @@ function ReportActionAvatarSingle({
107107 fallbackIcon,
108108 isInReportAction,
109109 useProfileNavigationWrapper,
110- fallbackUsername ,
110+ fallbackDisplayName ,
111111} : {
112112 avatar : IconType | undefined ;
113113 size : ValueOf < typeof CONST . AVATAR_SIZE > ;
@@ -118,7 +118,7 @@ function ReportActionAvatarSingle({
118118 fallbackIcon ?: AvatarSource ;
119119 isInReportAction ?: boolean ;
120120 useProfileNavigationWrapper ?: boolean ;
121- fallbackUsername ?: string ;
121+ fallbackDisplayName ?: string ;
122122} ) {
123123 const StyleUtils = useStyleUtils ( ) ;
124124 const avatarContainerStyles = StyleUtils . getContainerStyles ( size , isInReportAction ) ;
@@ -130,7 +130,7 @@ function ReportActionAvatarSingle({
130130 icon = { avatar }
131131 fallbackUserDetails = { {
132132 // eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing
133- displayName : fallbackUsername || avatar ?. name ,
133+ displayName : fallbackDisplayName || avatar ?. name ,
134134 } }
135135 shouldRender = { shouldShowTooltip }
136136 >
@@ -160,7 +160,7 @@ function ReportActionAvatarSubscript({
160160 noRightMarginOnContainer,
161161 subscriptAvatarBorderColor,
162162 subscriptCardFeed,
163- fallbackUsername ,
163+ fallbackDisplayName ,
164164 useProfileNavigationWrapper,
165165} : {
166166 primaryAvatar : IconType ;
@@ -170,7 +170,7 @@ function ReportActionAvatarSubscript({
170170 noRightMarginOnContainer ?: boolean ;
171171 subscriptAvatarBorderColor ?: ColorValue ;
172172 subscriptCardFeed ?: CompanyCardFeed | typeof CONST . EXPENSIFY_CARD . BANK ;
173- fallbackUsername ?: string ;
173+ fallbackDisplayName ?: string ;
174174 useProfileNavigationWrapper ?: boolean ;
175175} ) {
176176 const theme = useTheme ( ) ;
@@ -210,7 +210,7 @@ function ReportActionAvatarSubscript({
210210 icon = { primaryAvatar }
211211 fallbackUserDetails = { {
212212 // eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing
213- displayName : fallbackUsername || primaryAvatar . name ,
213+ displayName : fallbackDisplayName || primaryAvatar . name ,
214214 } }
215215 >
216216 < View >
@@ -316,13 +316,13 @@ function ReportActionAvatarMultipleHorizontal({
316316 isInReportAction,
317317 sort : sortAvatars ,
318318 useProfileNavigationWrapper,
319- fallbackUsername ,
319+ fallbackDisplayName ,
320320} : HorizontalStacking & {
321321 size : ValueOf < typeof CONST . AVATAR_SIZE > ;
322322 shouldShowTooltip : boolean ;
323323 icons : IconType [ ] ;
324324 isInReportAction : boolean ;
325- fallbackUsername ?: string ;
325+ fallbackDisplayName ?: string ;
326326 useProfileNavigationWrapper ?: boolean ;
327327} ) {
328328 const theme = useTheme ( ) ;
@@ -384,7 +384,7 @@ function ReportActionAvatarMultipleHorizontal({
384384 icon = { icon }
385385 fallbackUserDetails = { {
386386 // eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing
387- displayName : fallbackUsername || icon . name ,
387+ displayName : fallbackDisplayName || icon . name ,
388388 } }
389389 shouldRender = { shouldShowTooltip }
390390 >
@@ -460,7 +460,7 @@ function ReportActionAvatarMultipleDiagonal({
460460 secondaryAvatarContainerStyle,
461461 isHovered = false ,
462462 useProfileNavigationWrapper,
463- fallbackUsername ,
463+ fallbackDisplayName ,
464464} : {
465465 size : ValueOf < typeof CONST . AVATAR_SIZE > ;
466466 shouldShowTooltip : boolean ;
@@ -470,7 +470,7 @@ function ReportActionAvatarMultipleDiagonal({
470470 secondaryAvatarContainerStyle ?: StyleProp < ViewStyle > ;
471471 isHovered ?: boolean ;
472472 useProfileNavigationWrapper ?: boolean ;
473- fallbackUsername ?: string ;
473+ fallbackDisplayName ?: string ;
474474} ) {
475475 const theme = useTheme ( ) ;
476476 const styles = useThemeStyles ( ) ;
@@ -532,7 +532,7 @@ function ReportActionAvatarMultipleDiagonal({
532532 icon = { icons . at ( 0 ) }
533533 fallbackUserDetails = { {
534534 // eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing
535- displayName : fallbackUsername || icons . at ( 0 ) ?. name ,
535+ displayName : fallbackDisplayName || icons . at ( 0 ) ?. name ,
536536 } }
537537 shouldRender = { shouldShowTooltip }
538538 >
@@ -564,7 +564,7 @@ function ReportActionAvatarMultipleDiagonal({
564564 icon = { icons . at ( 1 ) }
565565 fallbackUserDetails = { {
566566 // eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing
567- displayName : fallbackUsername || icons . at ( 1 ) ?. name ,
567+ displayName : fallbackDisplayName || icons . at ( 1 ) ?. name ,
568568 } }
569569 shouldRender = { shouldShowTooltip }
570570 >
0 commit comments