Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ class MSGImageCollectionViewCell: MSGMessageCell {
}

private func downloadImage(from url: URL) {
imageView.image = nil
print("Download Started")
getData(from: url) { data, response, error in
guard let data = data, error == nil else { return }
Expand All @@ -47,7 +48,7 @@ class MSGImageCollectionViewCell: MSGMessageCell {

override func awakeFromNib() {
super.awakeFromNib()

imageView.image = nil
imageView.layer.cornerRadius = 18
imageView.layer.masksToBounds = true
imageView.isUserInteractionEnabled = true
Expand Down