mirror of
https://github.com/wahyd4/Yep.git
synced 2026-08-09 12:56:15 +10:00
size for yep_setImageOfAttachment
This commit is contained in:
@@ -38,7 +38,9 @@ class FeedMediaCell: UICollectionViewCell {
|
||||
|
||||
func configureWithAttachment(attachment: DiscoveredAttachment, bigger: Bool) {
|
||||
|
||||
imageView.yep_setImageOfAttachment(attachment, withSize: imageView.frame.size)
|
||||
let size = bigger ? CGSize(width: 160, height: 160) : CGSize(width: 80, height: 80)
|
||||
|
||||
imageView.yep_setImageOfAttachment(attachment, withSize: size)
|
||||
|
||||
deleteImageView.hidden = true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user