From b7e1d56ff68d25439d362c64e3d1d184215f8376 Mon Sep 17 00:00:00 2001 From: Arnaud Vergnet Date: Thu, 23 Apr 2020 11:23:38 +0200 Subject: [PATCH] Fixed ios warnings --- App.js | 3 ++- src/components/Tabbar/TabIcon.js | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/App.js b/App.js index 8f470e4..d356afb 100644 --- a/App.js +++ b/App.js @@ -121,7 +121,8 @@ export default class App extends React.Component { } else { StatusBar.setBarStyle('dark-content', true); } - StatusBar.setBackgroundColor(ThemeManager.getCurrentTheme().colors.surface, true); + if (Platform.OS === "android") + StatusBar.setBackgroundColor(ThemeManager.getCurrentTheme().colors.surface, true); } /** diff --git a/src/components/Tabbar/TabIcon.js b/src/components/Tabbar/TabIcon.js index e81202e..99e9e21 100644 --- a/src/components/Tabbar/TabIcon.js +++ b/src/components/Tabbar/TabIcon.js @@ -74,7 +74,6 @@ class TabIcon extends React.Component { style={{ flex: 1, justifyContent: 'center', - alignItem: 'center', }} >