dont load header images in their full size
This commit is contained in:
parent
b45dc5f873
commit
deaf35646a
@ -315,6 +315,8 @@ class AccountActivity : BottomSheetActivity(), ActionButtonActivity, HasSupportF
|
||||
.into(accountAvatarImageView)
|
||||
Picasso.with(this)
|
||||
.load(account.header)
|
||||
.fit() // prevents crash with large header images
|
||||
.centerCrop()
|
||||
.into(accountHeaderImageView)
|
||||
|
||||
accountAvatarImageView.setOnClickListener { avatarView ->
|
||||
|
Loading…
Reference in New Issue
Block a user