Revert D5894101: [RN] Using SafeAreaView in YellowBox

Differential Revision: D5894101

fbshipit-source-id: b18b09572c2362d4867ed94a406f56206cdfe6d5
This commit is contained in:
Valentin Shergin 2017-09-25 11:32:30 -07:00 committed by Facebook Github Bot
parent e220878b00
commit 5536252376
1 changed files with 40 additions and 46 deletions

View File

@ -16,7 +16,6 @@
const EventEmitter = require('EventEmitter');
const Platform = require('Platform');
const React = require('React');
const SafeAreaView = require('SafeAreaView');
const StyleSheet = require('StyleSheet');
const RCTLog = require('RCTLog');
@ -265,7 +264,6 @@ const WarningInspector = ({
return (
<View style={styles.inspector}>
<SafeAreaView style={styles.safeArea}>
<View style={styles.inspectorCount}>
<Text style={styles.inspectorCountText}>
{countSentence}
@ -307,7 +305,6 @@ const WarningInspector = ({
<Text style={styles.inspectorButtonText}>Dismiss All</Text>
</TouchableHighlight>
</View>
</SafeAreaView>
</View>
);
};
@ -467,9 +464,6 @@ var styles = StyleSheet.create({
paddingVertical: 22,
backgroundColor: backgroundColor(1),
},
safeArea: {
flex: 1,
},
stacktraceList: {
paddingBottom: 5,
},