Skip to content

Commit

Permalink
address review
Browse files Browse the repository at this point in the history
  • Loading branch information
kosmydel committed Feb 9, 2024
1 parent 479203f commit 56fd657
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion src/components/CustomStatusBarAndBackground/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,8 @@ function CustomStatusBarAndBackground({isNested = false}: CustomStatusBarAndBack
}

updateGlobalBackgroundColor(theme);
}, [isDisabled, theme]);
updateStatusBarStyle();
}, [isDisabled, theme, updateStatusBarStyle]);

if (isDisabled) {
return null;
Expand Down
2 changes: 1 addition & 1 deletion src/pages/settings/AboutPage/AboutPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ function AboutPage() {
onBackButtonPress={() => Navigation.goBack(ROUTES.SETTINGS)}
icon={Illustrations.PalmTree}
/>
<ScrollView contentContainerStyle={styles.pt3}>
<ScrollView>
<View style={[styles.flex1, isSmallScreenWidth ? styles.workspaceSectionMobile : styles.workspaceSection]}>
<Section
title={translate('footer.aboutExpensify')}
Expand Down
2 changes: 1 addition & 1 deletion src/pages/settings/Preferences/PreferencesPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ function PreferencesPage(props) {
shouldShowBackButton={isSmallScreenWidth}
onBackButtonPress={() => Navigation.goBack()}
/>
<ScrollView contentContainerStyle={styles.pt3}>
<ScrollView>
<View style={[styles.flex1, isSmallScreenWidth ? styles.workspaceSectionMobile : styles.workspaceSection]}>
<Section
title={translate('preferencesPage.appSection.title')}
Expand Down
2 changes: 1 addition & 1 deletion src/pages/settings/Security/SecuritySettingsPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ function SecuritySettingsPage() {
onBackButtonPress={() => Navigation.goBack()}
icon={Illustrations.LockClosed}
/>
<ScrollView contentContainerStyle={styles.pt3}>
<ScrollView>
<View style={[styles.flex1, isSmallScreenWidth ? styles.workspaceSectionMobile : styles.workspaceSection]}>
<Section
title={translate('securityPage.title')}
Expand Down
2 changes: 1 addition & 1 deletion src/pages/workspace/WorkspacesListPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ function WorkspacesListPage({policies, allPolicyMembers, reimbursementAccount, r
onPress={() => App.createWorkspaceWithPolicyDraftAndNavigateToIt()}
/>
</HeaderWithBackButton>
<ScrollView contentContainerStyle={styles.pt3}>
<ScrollView>
<View style={[styles.flex1, isSmallScreenWidth ? styles.workspaceSectionMobile : styles.workspaceSection]}>
<FeatureList
menuItems={workspaceFeatures}
Expand Down

0 comments on commit 56fd657

Please sign in to comment.