forked from vergnet/application-amicale
Fixed crash on club screen
This commit is contained in:
parent
13b9e8dad0
commit
82f208b366
2 changed files with 3 additions and 3 deletions
|
@ -170,7 +170,8 @@ class ClubDisplayScreen extends React.Component<Props, State> {
|
||||||
source={{
|
source={{
|
||||||
uri: data.logo,
|
uri: data.logo,
|
||||||
}}
|
}}
|
||||||
/></View>
|
/>
|
||||||
|
</View>
|
||||||
: <View/>}
|
: <View/>}
|
||||||
|
|
||||||
{data.description !== null ?
|
{data.description !== null ?
|
||||||
|
@ -180,7 +181,7 @@ class ClubDisplayScreen extends React.Component<Props, State> {
|
||||||
</Card.Content>
|
</Card.Content>
|
||||||
: <View/>}
|
: <View/>}
|
||||||
{this.getManagersRender(data.responsibles, data.email)}
|
{this.getManagersRender(data.responsibles, data.email)}
|
||||||
q </ScrollView>
|
</ScrollView>
|
||||||
);
|
);
|
||||||
} else
|
} else
|
||||||
return null;
|
return null;
|
||||||
|
|
|
@ -115,7 +115,6 @@ class ClubListScreen extends React.Component<Props, State> {
|
||||||
this.categories = categoryList;
|
this.categories = categoryList;
|
||||||
const {containerPaddingTop, scrollIndicatorInsetTop, onScroll} = this.props.collapsibleStack;
|
const {containerPaddingTop, scrollIndicatorInsetTop, onScroll} = this.props.collapsibleStack;
|
||||||
return (
|
return (
|
||||||
//$FlowFixMe
|
|
||||||
<Animated.FlatList
|
<Animated.FlatList
|
||||||
data={clubList}
|
data={clubList}
|
||||||
keyExtractor={this.keyExtractor}
|
keyExtractor={this.keyExtractor}
|
||||||
|
|
Loading…
Reference in a new issue