RN-196 Added a key to try to force ProfilePicture to rerender (#636)
This commit is contained in:
parent
956e203be8
commit
d2b2503c04
1 changed files with 1 additions and 0 deletions
|
|
@ -85,6 +85,7 @@ export default class ProfilePicture extends PureComponent {
|
|||
return (
|
||||
<View style={{width: this.props.size + STATUS_BUFFER, height: this.props.size + STATUS_BUFFER}}>
|
||||
<Image
|
||||
key={pictureUrl}
|
||||
style={{width: this.props.size, height: this.props.size, borderRadius: this.props.size / 2}}
|
||||
source={{uri: pictureUrl}}
|
||||
defaultSource={placeholder}
|
||||
|
|
|
|||
Loading…
Reference in a new issue