Skip to content

Commit

Permalink
Remove downloadSiteIcon (#23832)
Browse files Browse the repository at this point in the history
  • Loading branch information
kean authored Nov 19, 2024
1 parent 8949d19 commit ea3a267
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 122 deletions.
120 changes: 0 additions & 120 deletions WordPress/Classes/Extensions/UIImageView+SiteIcon.swift

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,10 @@ class NoteBlockHeaderTableViewCell: NoteBlockTableViewCell {
authorAvatarImageView.image = .gravatarPlaceholderImage
return
}

if let gravatar = AvatarURL(url: url) {
authorAvatarImageView.downloadGravatar(gravatar, placeholder: .gravatarPlaceholderImage, animate: true)
} else {
authorAvatarImageView.downloadSiteIcon(at: url.absoluteString)
authorAvatarImageView.wp.setImage(with: url, size: SiteIconViewModel.Size.regular.size)
}
}

Expand Down

0 comments on commit ea3a267

Please sign in to comment.