Skip to content

Commit

Permalink
Merge pull request #19056 from Expensify/georgia-threadImageBug
Browse files Browse the repository at this point in the history
Fix Image Flashing Bug
  • Loading branch information
chiragsalian authored May 16, 2023
2 parents 5be0c13 + aad16cc commit 2d76b02
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/pages/home/ReportScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ class ReportScreen extends React.Component {
}
>
<FullPageNotFoundView
shouldShow={(!this.props.report.reportID && !this.props.report.isLoadingReportActions && !isLoading) || shouldHideReport}
shouldShow={(!reportID && !this.props.report.isLoadingReportActions && !isLoading) || shouldHideReport}
subtitleKey="notFound.noAccess"
shouldShowCloseButton={false}
shouldShowBackButton={this.props.isSmallScreenWidth}
Expand Down
5 changes: 1 addition & 4 deletions src/pages/home/report/ReportActionItemThread.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ import withWindowDimensions, {windowDimensionsPropTypes} from '../../../componen
import CONST from '../../../CONST';
import avatarPropTypes from '../../../components/avatarPropTypes';
import MultipleAvatars from '../../../components/MultipleAvatars';
import Navigation from '../../../libs/Navigation/Navigation';
import ROUTES from '../../../ROUTES';
import compose from '../../../libs/compose';

const propTypes = {
Expand Down Expand Up @@ -43,8 +41,7 @@ const ReportActionItemThread = (props) => {
<View style={[styles.chatItemMessage]}>
<Pressable
onPress={() => {
Report.openReport(props.childReportID);
Navigation.navigate(ROUTES.getReportRoute(props.childReportID));
Report.navigateToAndOpenChildReport(props.childReportID);
}}
>
<View style={[styles.flexRow, styles.alignItemsCenter, styles.mt2]}>
Expand Down

0 comments on commit 2d76b02

Please sign in to comment.