Skip to content

Commit

Permalink
fix(ios): display chat
Browse files Browse the repository at this point in the history
Signed-off-by: Godefroy Ponsinet <godefroy.ponsinet@outlook.com>
  • Loading branch information
90dy committed Jan 11, 2019
1 parent 1f6d369 commit eaf186c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions client/react-native/common/components/Library/Screen.js
@@ -1,4 +1,5 @@
import { Dimensions, View } from 'react-native'
import { Dimensions } from 'react-native'
import { SafeAreaView } from 'react-navigation'
import React, { Component } from 'react'

import { screen, colors } from '../../constants'
Expand Down Expand Up @@ -39,7 +40,7 @@ export default class Screen extends Component {
const { absolute, style, onResize, ...props } = this.props
const { dimensions } = this.state
return (
<View
<SafeAreaView
style={[
{
flex: 1,
Expand Down
2 changes: 1 addition & 1 deletion client/react-native/common/relay/Pagination.js
Expand Up @@ -64,7 +64,7 @@ class PaginationContainer extends Component {
condComponent,
} = this.props

if (data[alias] && data[alias].edges.length > 0) {
if (!emptyItem || (data[alias] && data[alias].edges.length > 0)) {
return (
<>
<FlatList
Expand Down

0 comments on commit eaf186c

Please sign in to comment.