From 6b002f10157fa9452d42dde35b9d40c2d31b85b5 Mon Sep 17 00:00:00 2001 From: Rafael Date: Wed, 16 Jun 2021 09:49:19 -0300 Subject: [PATCH 1/2] remove translucent statusbar after bootsplash --- src/Expensify.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/Expensify.js b/src/Expensify.js index 0d26f00c96ec..2908f71484d3 100644 --- a/src/Expensify.js +++ b/src/Expensify.js @@ -152,11 +152,7 @@ class Expensify extends PureComponent { } hideSplash() { - BootSplash.hide({fade: true}).then(() => { - // To prevent the splash from shifting positions we set status bar translucent after splash is hidden. - // on IOS it has no effect. - StatusBar.setTranslucent(true); - }); + BootSplash.hide({fade: true}); } render() { From 8b736a8b501508b8c9776d9f3765a4f49a3cd054 Mon Sep 17 00:00:00 2001 From: Rafael Date: Wed, 16 Jun 2021 10:31:09 -0300 Subject: [PATCH 2/2] fix lint issue --- src/Expensify.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Expensify.js b/src/Expensify.js index 2908f71484d3..2037f8e403ac 100644 --- a/src/Expensify.js +++ b/src/Expensify.js @@ -5,7 +5,6 @@ import {View, AppState} from 'react-native'; import Onyx, {withOnyx} from 'react-native-onyx'; import BootSplash from './libs/BootSplash'; -import StatusBar from './libs/StatusBar'; import listenToStorageEvents from './libs/listenToStorageEvents'; import * as ActiveClientManager from './libs/ActiveClientManager'; import ONYXKEYS from './ONYXKEYS';