Skip to content

Commit

Permalink
Merge pull request #40268 from bernhardoj/fix/39868-extra-spacing-in-…
Browse files Browse the repository at this point in the history
…report-header

Fix report header in one transaction report has extra spacing
  • Loading branch information
AndrewGable authored Apr 16, 2024
2 parents 4ab0949 + fb8283b commit 271e988
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/AvatarWithDisplayName.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ function AvatarWithDisplayName({
const ownerPersonalDetails = OptionsListUtils.getPersonalDetailsForAccountIDs(report?.ownerAccountID ? [report.ownerAccountID] : [], personalDetails);
const displayNamesWithTooltips = ReportUtils.getDisplayNamesWithTooltips(Object.values(ownerPersonalDetails) as PersonalDetails[], false);
const shouldShowSubscriptAvatar = ReportUtils.shouldReportShowSubscript(report);
const isExpenseRequest = ReportUtils.isExpenseRequest(report);
const avatarBorderColor = isAnonymous ? theme.highlightBG : theme.componentBG;

const actorAccountID = useRef<number | null>(null);
Expand Down Expand Up @@ -128,7 +127,7 @@ function AvatarWithDisplayName({
/>
)}
</PressableWithoutFeedback>
<View style={[styles.flex1, styles.flexColumn, shouldShowSubscriptAvatar && !isExpenseRequest ? styles.ml4 : {}]}>
<View style={[styles.flex1, styles.flexColumn]}>
<DisplayNames
fullTitle={title}
displayNamesWithTooltips={displayNamesWithTooltips}
Expand Down

0 comments on commit 271e988

Please sign in to comment.