additional thumbnailUrl check

This commit is contained in:
Akinwale Ariwodola 2020-01-23 00:55:45 +01:00
parent dc0b06ce55
commit 4e6267d5a9

View file

@ -931,7 +931,7 @@ export default class ChannelCreator extends React.PureComponent {
source={{ uri: thumbnailUrl }}
/>
)}
{(thumbnailUrl === null || thumbnailUrl.trim().length === 0) && newChannelName.length > 0 && (
{(!!thumbnailUrl || thumbnailUrl.trim().length === 0) && newChannelName.length > 0 && (
<Text style={channelIconStyle.autothumbCharacter}>
{newChannelName.substring(0, 1).toUpperCase()}
</Text>