mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-18 19:01:38 +03:00
Merge pull request #1974 from ecency/nt/avatar-update-bug
NT - Avatar Bug Update
This commit is contained in:
commit
eff6d4900d
@ -60,7 +60,11 @@ const UserAvatarView = ({
|
||||
const uri = avatarUrl ? avatarUrl : getResizedAvatar(username, 'large');
|
||||
|
||||
const _avatar = username
|
||||
? { uri : `${uri}?stamp=${avatarCacheStamp}` }
|
||||
? {
|
||||
uri : `${uri}${username === curUsername && avatarCacheStamp
|
||||
? ('?stamp=' + avatarCacheStamp) : '' }`,
|
||||
cache : FastImage.cacheControl.web
|
||||
}
|
||||
: DEFAULT_IMAGE;
|
||||
|
||||
let _size:number;
|
||||
|
Loading…
Reference in New Issue
Block a user