diff --git a/EmbeddedSocial/Sources/Controls/PostCells/PostCell.swift b/EmbeddedSocial/Sources/Controls/PostCells/PostCell.swift index 4e3b9d8b..8ffee476 100644 --- a/EmbeddedSocial/Sources/Controls/PostCells/PostCell.swift +++ b/EmbeddedSocial/Sources/Controls/PostCells/PostCell.swift @@ -156,6 +156,8 @@ class PostCell: UICollectionViewCell, PostCellProtocol { postImageHeight.constant = 0 } + postImage.isHidden = (postImageHeight.constant == 0) + postImage.setPhotoWithCaching(data.postPhoto, placeholder: postImagePlaceholder) let downloadableUserImage = Photo(url: data.userImageUrl)