Browse Source

Fixed ios warnings

Arnaud Vergnet 1 year ago
parent
commit
b7e1d56ff6
2 changed files with 2 additions and 2 deletions
  1. 2
    1
      App.js
  2. 0
    1
      src/components/Tabbar/TabIcon.js

+ 2
- 1
App.js View File

@@ -121,7 +121,8 @@ export default class App extends React.Component<Props, State> {
121 121
         } else {
122 122
             StatusBar.setBarStyle('dark-content', true);
123 123
         }
124
-        StatusBar.setBackgroundColor(ThemeManager.getCurrentTheme().colors.surface, true);
124
+        if (Platform.OS === "android")
125
+            StatusBar.setBackgroundColor(ThemeManager.getCurrentTheme().colors.surface, true);
125 126
     }
126 127
 
127 128
     /**

+ 0
- 1
src/components/Tabbar/TabIcon.js View File

@@ -74,7 +74,6 @@ class TabIcon extends React.Component<Props> {
74 74
                 style={{
75 75
                     flex: 1,
76 76
                     justifyContent: 'center',
77
-                    alignItem: 'center',
78 77
                 }}
79 78
             >
80 79
                 <View>

Loading…
Cancel
Save