diff --git a/Yep/Views/Cells/FeedMedia/FeedMediaCell.swift b/Yep/Views/Cells/FeedMedia/FeedMediaCell.swift index 09996b74..6ca4af8e 100644 --- a/Yep/Views/Cells/FeedMedia/FeedMediaCell.swift +++ b/Yep/Views/Cells/FeedMedia/FeedMediaCell.swift @@ -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 }