fix additional channel creator edit error
This commit is contained in:
parent
82d15f0c7f
commit
dc0b06ce55
1 changed files with 2 additions and 2 deletions
|
@ -905,7 +905,7 @@ export default class ChannelCreator extends React.PureComponent {
|
|||
style={channelCreatorStyle.coverImage}
|
||||
resizeMode={'cover'}
|
||||
source={
|
||||
coverImageUrl && coverImageUrl.trim().length > 0
|
||||
!!coverImageUrl && coverImageUrl.trim().length > 0
|
||||
? { uri: coverImageUrl }
|
||||
: require('../../assets/default_channel_cover.png')
|
||||
}
|
||||
|
@ -924,7 +924,7 @@ export default class ChannelCreator extends React.PureComponent {
|
|||
|
||||
<View style={[channelCreatorStyle.avatarImageContainer, autoStyle]}>
|
||||
<TouchableOpacity style={channelCreatorStyle.avatarTouchArea} onPress={this.onAvatarImagePress}>
|
||||
{thumbnailUrl !== null && thumbnailUrl.trim().length > 0 && (
|
||||
{!!thumbnailUrl && thumbnailUrl.trim().length > 0 && (
|
||||
<Image
|
||||
style={channelCreatorStyle.avatarImage}
|
||||
resizeMode={'cover'}
|
||||
|
|
Loading…
Reference in a new issue