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}
|
style={channelCreatorStyle.coverImage}
|
||||||
resizeMode={'cover'}
|
resizeMode={'cover'}
|
||||||
source={
|
source={
|
||||||
coverImageUrl && 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')
|
||||||
}
|
}
|
||||||
|
@ -924,7 +924,7 @@ export default class ChannelCreator extends React.PureComponent {
|
||||||
|
|
||||||
<View style={[channelCreatorStyle.avatarImageContainer, autoStyle]}>
|
<View style={[channelCreatorStyle.avatarImageContainer, autoStyle]}>
|
||||||
<TouchableOpacity style={channelCreatorStyle.avatarTouchArea} onPress={this.onAvatarImagePress}>
|
<TouchableOpacity style={channelCreatorStyle.avatarTouchArea} onPress={this.onAvatarImagePress}>
|
||||||
{thumbnailUrl !== null && thumbnailUrl.trim().length > 0 && (
|
{!!thumbnailUrl && thumbnailUrl.trim().length > 0 && (
|
||||||
<Image
|
<Image
|
||||||
style={channelCreatorStyle.avatarImage}
|
style={channelCreatorStyle.avatarImage}
|
||||||
resizeMode={'cover'}
|
resizeMode={'cover'}
|
||||||
|
|
Loading…
Reference in a new issue