Skip to content

Commit

Permalink
fix split details and details
Browse files Browse the repository at this point in the history
  • Loading branch information
kosmydel committed Nov 20, 2023
1 parent 2376853 commit 25c5125
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/pages/ReportDetailsPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,10 @@ function ReportDetailsPage(props) {
) : null;

return (
<ScreenWrapper testID={ReportDetailsPage.displayName}>
<ScreenWrapper
testID={ReportDetailsPage.displayName}
shouldEnableAutoFocus
>
<FullPageNotFoundView shouldShow={_.isEmpty(props.report)}>
<HeaderWithBackButton
title={props.translate('common.details')}
Expand Down
5 changes: 4 additions & 1 deletion src/pages/iou/SplitBillDetailsPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,10 @@ function SplitBillDetailsPage(props) {
);

return (
<ScreenWrapper testID={SplitBillDetailsPage.displayName}>
<ScreenWrapper
testID={SplitBillDetailsPage.displayName}
shouldEnableAutoFocus
>
<FullPageNotFoundView shouldShow={_.isEmpty(reportID) || _.isEmpty(reportAction) || _.isEmpty(props.transaction)}>
<HeaderWithBackButton title={translate('common.details')} />
<View style={[styles.containerWithSpaceBetween, styles.pointerEventsBoxNone]}>
Expand Down

0 comments on commit 25c5125

Please sign in to comment.