Skip to content
This repository has been archived by the owner on Apr 30, 2023. It is now read-only.

Commit

Permalink
add safe area view
Browse files Browse the repository at this point in the history
  • Loading branch information
Arjun-sna committed Mar 3, 2019
1 parent dcced4c commit 23ba486
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions App.js
@@ -1,15 +1,15 @@
import React from 'react';
import { View } from 'react-native';
import { View, SafeAreaView } from 'react-native';
import codePush from 'react-native-code-push';
import Root from './src/index';

const codePushOptions = { checkFrequency: codePush.CheckFrequency.MANUAL };
const CodePushApp = codePush(codePushOptions)(Root);

const App = () => (
<View style={{ flex: 1 }}>
<CodePushApp />
</View>
<SafeAreaView style={{ flex: 1 }}>
<CodePushApp />
</SafeAreaView>
);

export default App;

0 comments on commit 23ba486

Please sign in to comment.