diff --git a/src/components/BlockingViews/BlockingView.js b/src/components/BlockingViews/BlockingView.js index d02fa55a6434..5610d30268b9 100644 --- a/src/components/BlockingViews/BlockingView.js +++ b/src/components/BlockingViews/BlockingView.js @@ -42,7 +42,7 @@ const propTypes = { const defaultProps = { iconColor: themeColors.offline, subtitle: '', - shouldShowLink: false, + shouldShowLink: true, link: 'notFound.goBackHome', iconWidth: variables.iconSizeSuperLarge, iconHeight: variables.iconSizeSuperLarge, diff --git a/src/components/BlockingViews/FullPageNotFoundView.js b/src/components/BlockingViews/FullPageNotFoundView.js index 0a90d4b2e72d..c52e61ec4b92 100644 --- a/src/components/BlockingViews/FullPageNotFoundView.js +++ b/src/components/BlockingViews/FullPageNotFoundView.js @@ -48,7 +48,7 @@ const defaultProps = { subtitleKey: 'notFound.pageNotFound', linkKey: 'notFound.goBackHome', onBackButtonPress: Navigation.goBack, - shouldShowLink: false, + shouldShowLink: true, shouldShowBackButton: true, onLinkPress: () => Navigation.dismissModal(), }; diff --git a/src/pages/ErrorPage/NotFoundPage.js b/src/pages/ErrorPage/NotFoundPage.js index 98d8d77cf821..f0121cd8f3ef 100644 --- a/src/pages/ErrorPage/NotFoundPage.js +++ b/src/pages/ErrorPage/NotFoundPage.js @@ -6,10 +6,7 @@ import FullPageNotFoundView from '../../components/BlockingViews/FullPageNotFoun function NotFoundPage() { return ( - + ); } diff --git a/src/pages/ReimbursementAccount/ReimbursementAccountPage.js b/src/pages/ReimbursementAccount/ReimbursementAccountPage.js index 535df65a227e..6e9ecf3e038b 100644 --- a/src/pages/ReimbursementAccount/ReimbursementAccountPage.js +++ b/src/pages/ReimbursementAccount/ReimbursementAccountPage.js @@ -342,7 +342,6 @@ class ReimbursementAccountPage extends React.Component { shouldShow onBackButtonPress={() => Navigation.goBack(ROUTES.SETTINGS_WORKSPACES)} subtitleKey={_.isEmpty(this.props.policy) ? undefined : 'workspace.common.notAuthorized'} - shouldShowLink /> ); diff --git a/src/pages/home/ReportScreen.js b/src/pages/home/ReportScreen.js index a28444b67560..411b5f3fecef 100644 --- a/src/pages/home/ReportScreen.js +++ b/src/pages/home/ReportScreen.js @@ -297,6 +297,7 @@ class ReportScreen extends React.Component { shouldShowCloseButton={false} shouldShowBackButton={this.props.isSmallScreenWidth} onBackButtonPress={Navigation.goBack} + shouldShowLink={false} > Navigation.goBack(ROUTES.SETTINGS_WALLET)} > diff --git a/src/pages/tasks/NewTaskPage.js b/src/pages/tasks/NewTaskPage.js index 39b11bf25884..f8f076a1630c 100644 --- a/src/pages/tasks/NewTaskPage.js +++ b/src/pages/tasks/NewTaskPage.js @@ -139,6 +139,7 @@ function NewTaskPage(props) { Task.dismissModalAndClearOutTaskInfo()} + shouldShowLink={false} >