Skip to content

Commit

Permalink
Merge pull request #38278 from narefyev91/fix-visibility-of-back-butt…
Browse files Browse the repository at this point in the history
…on-in-workspaces

Fix visibility of back button in Workspaces
  • Loading branch information
luacmartins authored Mar 15, 2024
2 parents befd1a2 + 0b9b027 commit 15124d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/workspace/WorkspacesListPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ function WorkspacesListPage({policies, allPolicyMembers, reimbursementAccount, r
>
<HeaderWithBackButton
title={translate('common.workspaces')}
shouldShowBackButton={isLessThanMediumScreen}
shouldShowBackButton={isSmallScreenWidth}
onBackButtonPress={() => Navigation.goBack()}
>
<Button
Expand Down Expand Up @@ -387,7 +387,7 @@ function WorkspacesListPage({policies, allPolicyMembers, reimbursementAccount, r
<View style={styles.flex1}>
<HeaderWithBackButton
title={translate('common.workspaces')}
shouldShowBackButton={isLessThanMediumScreen}
shouldShowBackButton={isSmallScreenWidth}
onBackButtonPress={() => Navigation.goBack()}
>
<Button
Expand Down

0 comments on commit 15124d7

Please sign in to comment.