fix thumbnailUrl check

This commit is contained in:
Akinwale Ariwodola 2020-01-23 02:15:39 +01:00
parent 4e6267d5a9
commit 9bc5a2ecac

View file

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