From 410e38503ab6975ec666623db47667550c348f58 Mon Sep 17 00:00:00 2001 From: sumo_slonik Date: Thu, 15 May 2025 11:39:02 +0200 Subject: [PATCH 1/2] fix spacing --- src/components/SelectionList/Search/ReportListItemHeader.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/SelectionList/Search/ReportListItemHeader.tsx b/src/components/SelectionList/Search/ReportListItemHeader.tsx index ab08ba05a272..3447133b5923 100644 --- a/src/components/SelectionList/Search/ReportListItemHeader.tsx +++ b/src/components/SelectionList/Search/ReportListItemHeader.tsx @@ -127,7 +127,7 @@ function FirstHeaderRow({ /> - + Date: Fri, 16 May 2025 11:01:08 +0200 Subject: [PATCH 2/2] add new narrow condition to header --- src/components/SelectionList/Search/ReportListItemHeader.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/SelectionList/Search/ReportListItemHeader.tsx b/src/components/SelectionList/Search/ReportListItemHeader.tsx index 3447133b5923..c1a5eb9da5b0 100644 --- a/src/components/SelectionList/Search/ReportListItemHeader.tsx +++ b/src/components/SelectionList/Search/ReportListItemHeader.tsx @@ -161,14 +161,14 @@ function ReportListItemHeader({ const reportItem = item as unknown as ReportListItemType; const {currentSearchHash} = useSearchContext(); const {translate} = useLocalize(); - const {shouldUseNarrowLayout} = useResponsiveLayout(); + const {isLargeScreenWidth} = useResponsiveLayout(); const thereIsFromAndTo = !!reportItem?.from && !!reportItem?.to; const showArrowComponent = reportItem.type === CONST.REPORT.TYPE.IOU && thereIsFromAndTo; const handleOnButtonPress = () => { handleActionButtonPress(currentSearchHash, reportItem, () => onSelectRow(item)); }; - return shouldUseNarrowLayout ? ( + return !isLargeScreenWidth ? (