Skip to content

Commit

Permalink
Fix visibility of back button in Workspaces
Browse files Browse the repository at this point in the history
  • Loading branch information
narefyev91 committed Mar 14, 2024
1 parent b7a230e commit 0b9b027
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 0b9b027

Please sign in to comment.