Skip to content

Commit

Permalink
fix(ios): screen display overflow
Browse files Browse the repository at this point in the history
Fix #310

Signed-off-by: Godefroy Ponsinet <godefroy.ponsinet@outlook.com>
  • Loading branch information
90dy committed Sep 24, 2018
1 parent 70dae09 commit 9cbd140
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion client/react-native/common/components/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import React, { PureComponent } from 'react'
import Screens from './Screens'
import { NativeModules } from 'react-native'
import { subscriptions } from '../graphql'
import { SafeAreaView } from 'react-navigation'

const { CoreModule } = NativeModules

Expand Down Expand Up @@ -34,6 +35,10 @@ export default class App extends PureComponent {
}

render () {
return <Screens />
return (
<SafeAreaView style={{ flex: 1 }}>
<Screens />
</SafeAreaView>
)
}
}

0 comments on commit 9cbd140

Please sign in to comment.