Skip to content

Commit bbafa77

Browse files
JulesssssOSBotify
authored andcommitted
Merge pull request #88066 from callstack-internal/VickyStash/bugfix/85114-fix-button-overlap
[Payment due @situchan] Fix "Show history" button display (cherry picked from commit 9a354d6) (cherry-picked to staging by AndrewGable)
1 parent a33c417 commit bbafa77

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

src/pages/inbox/report/ReportActionsList.tsx

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -688,21 +688,6 @@ function ReportActionsList({
688688

689689
return (
690690
<>
691-
{showPreviousMessagesButton && (
692-
<View style={[styles.flexRow, styles.alignItemsCenter, styles.pv3, styles.mh5]}>
693-
<View style={[styles.threadDividerLine, styles.ml0, styles.mr0, styles.flexGrow1]} />
694-
<View>
695-
<Button
696-
small
697-
shouldShowRightIcon
698-
iconRight={expensifyIcons.UpArrow}
699-
text={translate('common.concierge.showHistory')}
700-
onPress={onShowPreviousMessages}
701-
/>
702-
</View>
703-
<View style={[styles.threadDividerLine, styles.ml0, styles.mr0, styles.flexGrow1]} />
704-
</View>
705-
)}
706691
<ReportActionsListItemRenderer
707692
reportAction={reportAction}
708693
parentReportAction={parentReportAction}
@@ -730,6 +715,21 @@ function ReportActionsList({
730715
reportNameValuePairsOrigin={reportNameValuePairs?.origin}
731716
reportNameValuePairsOriginalID={reportNameValuePairs?.originalID}
732717
/>
718+
{showPreviousMessagesButton && (
719+
<View style={[styles.flexRow, styles.alignItemsCenter, styles.pv3, styles.mh5]}>
720+
<View style={[styles.threadDividerLine, styles.ml0, styles.mr0, styles.flexGrow1]} />
721+
<View>
722+
<Button
723+
small
724+
shouldShowRightIcon
725+
iconRight={expensifyIcons.UpArrow}
726+
text={translate('common.concierge.showHistory')}
727+
onPress={onShowPreviousMessages}
728+
/>
729+
</View>
730+
<View style={[styles.threadDividerLine, styles.ml0, styles.mr0, styles.flexGrow1]} />
731+
</View>
732+
)}
733733
</>
734734
);
735735
},

0 commit comments

Comments
 (0)