|
|
@ -407,11 +407,18 @@ class AccountActivity : BottomSheetActivity(), ActionButtonActivity, HasAndroidI |
|
|
|
animateAvatar |
|
|
|
animateAvatar |
|
|
|
) |
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
Glide.with(this) |
|
|
|
if(animateAvatar) { |
|
|
|
|
|
|
|
Glide.with(this) |
|
|
|
|
|
|
|
.load(account.header) |
|
|
|
|
|
|
|
.centerCrop() |
|
|
|
|
|
|
|
.into(accountHeaderImageView) |
|
|
|
|
|
|
|
} else { |
|
|
|
|
|
|
|
Glide.with(this) |
|
|
|
.asBitmap() |
|
|
|
.asBitmap() |
|
|
|
.load(account.header) |
|
|
|
.load(account.header) |
|
|
|
.centerCrop() |
|
|
|
.centerCrop() |
|
|
|
.into(accountHeaderImageView) |
|
|
|
.into(accountHeaderImageView) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
accountAvatarImageView.setOnClickListener { avatarView -> |
|
|
|
accountAvatarImageView.setOnClickListener { avatarView -> |
|
|
|