Skip to content

Commit

Permalink
Revert "Fix bottom navigation being cut off"
Browse files Browse the repository at this point in the history
This reverts commit d4dc08f.
  • Loading branch information
natsuozawa committed Sep 27, 2019
1 parent 6bfdf77 commit 7bebd3e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
9 changes: 2 additions & 7 deletions App.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
import React from 'react';

import { Platform, YellowBox } from 'react-native';
import {
createSwitchNavigator,
createAppContainer,
createStackNavigator,
SafeAreaView
createStackNavigator
} from 'react-navigation';
import { useScreens } from 'react-native-screens';
import { createMaterialBottomTabNavigator } from 'react-navigation-material-bottom-tabs';
Expand All @@ -28,10 +26,6 @@ import { colors, fonts } from './src/styles';

const { store, persistor } = configureStore();

if (Platform.OS === 'android') {
SafeAreaView.setStatusBarHeight(0);
}

// Use native screens for faster performance in Navigators
useScreens();

Expand Down Expand Up @@ -142,6 +136,7 @@ registerRootComponent(Root);
// To ignore warnings for WebSocket, which is completely fine to use.
// See this page: https://stackoverflow.com/questions/53638667/unrecognized-websocket-connection-options-agent-permessagedeflate-pfx
console.ignoredYellowBox = ['Remote debugger'];
import { YellowBox } from 'react-native';
YellowBox.ignoreWarnings([
'Unrecognized WebSocket connection option(s) `agent`, `perMessageDeflate`, `pfx`, `key`, `passphrase`, `cert`, `ca`, `ciphers`, `rejectUnauthorized`. Did you mean to put these under `headers`?'
]);
1 change: 1 addition & 0 deletions app.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"package": "app.sardonyx",
"permissions": []
},
"androidStatusBarColor": "#ffffff",
"androidStatusBar": {
"backgroundColor": "#ffffff"
}
Expand Down

0 comments on commit 7bebd3e

Please sign in to comment.