Skip to content

Commit

Permalink
Fix missing money request status details
Browse files Browse the repository at this point in the history
  • Loading branch information
youssef-lr committed Oct 14, 2023
1 parent 87851c7 commit fc1e3ff
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/pages/iou/SplitBillDetailsPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import reportActionPropTypes from '../home/report/reportActionPropTypes';
import reportPropTypes from '../reportPropTypes';
import transactionPropTypes from '../../components/transactionPropTypes';
import withReportAndReportActionOrNotFound from '../home/report/withReportAndReportActionOrNotFound';
import useLocalize from '../../hooks/useLocalize';
import * as TransactionUtils from '../../libs/TransactionUtils';
import * as ReportUtils from '../../libs/ReportUtils';
import * as IOU from '../../libs/actions/IOU';
Expand Down Expand Up @@ -72,6 +73,7 @@ const defaultProps = {
};

function SplitBillDetailsPage(props) {
const {translate} = useLocalize();
const {reportID} = props.report;
const reportAction = props.reportActions[`${props.route.params.reportActionID.toString()}`];
const participantAccountIDs = reportAction.originalMessage.participantAccountIDs;
Expand Down Expand Up @@ -116,7 +118,13 @@ function SplitBillDetailsPage(props) {
pointerEvents="box-none"
style={[styles.containerWithSpaceBetween]}
>
{isScanning && <MoneyRequestHeaderStatusBar />}
{isScanning && (
<MoneyRequestHeaderStatusBar
title={translate('iou.receiptStatusTitle')}
description={translate('iou.receiptStatusText')}
shouldShowBorderBottom
/>
)}
{Boolean(participants.length) && (
<MoneyRequestConfirmationList
hasMultipleParticipants
Expand Down

0 comments on commit fc1e3ff

Please sign in to comment.