From 82f208b36684488bcb214115126e7982c9f42718 Mon Sep 17 00:00:00 2001 From: Arnaud Vergnet Date: Sat, 25 Apr 2020 16:49:13 +0200 Subject: [PATCH] Fixed crash on club screen --- src/screens/Amicale/Clubs/ClubDisplayScreen.js | 5 +++-- src/screens/Amicale/Clubs/ClubListScreen.js | 1 - 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/screens/Amicale/Clubs/ClubDisplayScreen.js b/src/screens/Amicale/Clubs/ClubDisplayScreen.js index 6669f16..19c3d7b 100644 --- a/src/screens/Amicale/Clubs/ClubDisplayScreen.js +++ b/src/screens/Amicale/Clubs/ClubDisplayScreen.js @@ -170,7 +170,8 @@ class ClubDisplayScreen extends React.Component { source={{ uri: data.logo, }} - /> + /> + : } {data.description !== null ? @@ -180,7 +181,7 @@ class ClubDisplayScreen extends React.Component { : } {this.getManagersRender(data.responsibles, data.email)} -q + ); } else return null; diff --git a/src/screens/Amicale/Clubs/ClubListScreen.js b/src/screens/Amicale/Clubs/ClubListScreen.js index c62f03e..ccdd167 100644 --- a/src/screens/Amicale/Clubs/ClubListScreen.js +++ b/src/screens/Amicale/Clubs/ClubListScreen.js @@ -115,7 +115,6 @@ class ClubListScreen extends React.Component { this.categories = categoryList; const {containerPaddingTop, scrollIndicatorInsetTop, onScroll} = this.props.collapsibleStack; return ( - //$FlowFixMe