fix channel creator edit error

This commit is contained in:
Akinwale Ariwodola 2020-01-22 18:39:47 +01:00
parent 9f32363a09
commit 82d15f0c7f

View file

@ -905,7 +905,7 @@ export default class ChannelCreator extends React.PureComponent {
style={channelCreatorStyle.coverImage} style={channelCreatorStyle.coverImage}
resizeMode={'cover'} resizeMode={'cover'}
source={ source={
coverImageUrl !== null && coverImageUrl.trim().length > 0 coverImageUrl && coverImageUrl.trim().length > 0
? { uri: coverImageUrl } ? { uri: coverImageUrl }
: require('../../assets/default_channel_cover.png') : require('../../assets/default_channel_cover.png')
} }