diff --git a/src/pages/workspace/WorkspacePageWithSections.tsx b/src/pages/workspace/WorkspacePageWithSections.tsx index e46e7071333f..d291a2d56bf1 100644 --- a/src/pages/workspace/WorkspacePageWithSections.tsx +++ b/src/pages/workspace/WorkspacePageWithSections.tsx @@ -72,6 +72,9 @@ type WorkspacePageWithSectionsProps = WithPolicyAndFullscreenLoadingProps & /** Whether to show the not found page */ shouldShowNotFoundPage?: boolean; + /** Whether to include safe area padding bottom or not */ + includeSafeAreaPaddingBottom?: boolean; + /** Policy values needed in the component */ policy: OnyxEntry; @@ -120,6 +123,7 @@ function WorkspacePageWithSections({ user, shouldShowLoading = true, shouldShowOfflineIndicatorInWideScreen = false, + includeSafeAreaPaddingBottom = false, shouldShowNonAdmin = false, headerContent, testID, @@ -169,7 +173,7 @@ function WorkspacePageWithSections({ return ( ( - + + - + ); } -WorkspaceCompanyCardsList.displayName = 'WorkspaceCompanyCardsList'; - export default WorkspaceCompanyCardsList; diff --git a/src/pages/workspace/companyCards/WorkspaceCompanyCardsListHeaderButtons.tsx b/src/pages/workspace/companyCards/WorkspaceCompanyCardsListHeaderButtons.tsx index 295396f75bc2..df9c21fc742f 100644 --- a/src/pages/workspace/companyCards/WorkspaceCompanyCardsListHeaderButtons.tsx +++ b/src/pages/workspace/companyCards/WorkspaceCompanyCardsListHeaderButtons.tsx @@ -38,7 +38,7 @@ function WorkspaceCompanyCardsListHeaderButtons({policyID, selectedFeed}: Worksp const cardFeeds = mockedFeeds ?? {}; return ( - + Navigation.navigate(ROUTES.WORKSPACE_COMPANY_CARDS_SELECT_FEED.getRoute(policyID))} style={[styles.flexRow, styles.alignItemsCenter, styles.gap3, styles.ml4, shouldUseNarrowLayout && styles.mb3]} diff --git a/src/pages/workspace/companyCards/WorkspaceCompanyCardsListRow.tsx b/src/pages/workspace/companyCards/WorkspaceCompanyCardsListRow.tsx index 77ef79ee4897..91eddfd96936 100644 --- a/src/pages/workspace/companyCards/WorkspaceCompanyCardsListRow.tsx +++ b/src/pages/workspace/companyCards/WorkspaceCompanyCardsListRow.tsx @@ -32,7 +32,7 @@ function WorkspaceCompanyCardsListRow({cardholder, name, cardNumber}: WorkspaceC type={CONST.ICON_TYPE_AVATAR} size={CONST.AVATAR_SIZE.DEFAULT} /> - +