From 56fd6571a7540ddd3662df2fcd4338e4e3140cf5 Mon Sep 17 00:00:00 2001 From: Jakub Kosmydel <104823336+kosmydel@users.noreply.github.com> Date: Fri, 9 Feb 2024 10:20:27 +0100 Subject: [PATCH] address review --- src/components/CustomStatusBarAndBackground/index.tsx | 3 ++- src/pages/settings/AboutPage/AboutPage.tsx | 2 +- src/pages/settings/Preferences/PreferencesPage.js | 2 +- src/pages/settings/Security/SecuritySettingsPage.tsx | 2 +- src/pages/workspace/WorkspacesListPage.tsx | 2 +- 5 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/components/CustomStatusBarAndBackground/index.tsx b/src/components/CustomStatusBarAndBackground/index.tsx index f66a0204ac5e..2a4c8461c9f8 100644 --- a/src/components/CustomStatusBarAndBackground/index.tsx +++ b/src/components/CustomStatusBarAndBackground/index.tsx @@ -124,7 +124,8 @@ function CustomStatusBarAndBackground({isNested = false}: CustomStatusBarAndBack } updateGlobalBackgroundColor(theme); - }, [isDisabled, theme]); + updateStatusBarStyle(); + }, [isDisabled, theme, updateStatusBarStyle]); if (isDisabled) { return null; diff --git a/src/pages/settings/AboutPage/AboutPage.tsx b/src/pages/settings/AboutPage/AboutPage.tsx index 8215881498e4..a2d6402858b6 100644 --- a/src/pages/settings/AboutPage/AboutPage.tsx +++ b/src/pages/settings/AboutPage/AboutPage.tsx @@ -138,7 +138,7 @@ function AboutPage() { onBackButtonPress={() => Navigation.goBack(ROUTES.SETTINGS)} icon={Illustrations.PalmTree} /> - +
Navigation.goBack()} /> - +
Navigation.goBack()} icon={Illustrations.LockClosed} /> - +
App.createWorkspaceWithPolicyDraftAndNavigateToIt()} /> - +