[RN] Replace red screen with dialog

This commit is contained in:
Bettenbuk Zoltan
2019-03-06 17:28:59 +01:00
committed by Zoltan Bettenbuk
parent ebdcbe122a
commit 98c7430b6f
7 changed files with 85 additions and 113 deletions

View File

@@ -1,7 +1,7 @@
// @flow
import React, { Component, type Node } from 'react';
import { SafeAreaView } from 'react-native';
import { SafeAreaView, View } from 'react-native';
import { overlayFrame as styles } from './styles';
@@ -28,9 +28,11 @@ export default class OverlayFrame extends Component<Props> {
*/
render() {
return (
<SafeAreaView style = { styles.container }>
{ this.props.children }
</SafeAreaView>
<View style = { styles.container }>
<SafeAreaView style = { styles.safeContainer } >
{ this.props.children }
</SafeAreaView>
</View>
);
}
}