fix thumbnailUrl check
This commit is contained in:
parent
4e6267d5a9
commit
9bc5a2ecac
|
@ -931,7 +931,8 @@ export default class ChannelCreator extends React.PureComponent {
|
||||||
source={{ uri: thumbnailUrl }}
|
source={{ uri: thumbnailUrl }}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
{(!!thumbnailUrl || thumbnailUrl.trim().length === 0) && newChannelName.length > 0 && (
|
{(!!thumbnailUrl || (!!thumbnailUrl && thumbnailUrl.trim().length === 0)) &&
|
||||||
|
newChannelName.length > 0 && (
|
||||||
<Text style={channelIconStyle.autothumbCharacter}>
|
<Text style={channelIconStyle.autothumbCharacter}>
|
||||||
{newChannelName.substring(0, 1).toUpperCase()}
|
{newChannelName.substring(0, 1).toUpperCase()}
|
||||||
</Text>
|
</Text>
|
||||||
|
|
Loading…
Reference in a new issue