mirror of
https://github.com/metabolist/metatext.git
synced 2024-11-28 19:11:30 +00:00
Hide indicator if preview image is cached
This commit is contained in:
parent
045524f6a5
commit
a4d2e89296
1 changed files with 1 additions and 0 deletions
|
@ -132,6 +132,7 @@ final class ImageViewController: UIViewController {
|
|||
|
||||
if cachedImage != nil {
|
||||
placeholderImage = cachedImage
|
||||
imageView.sd_imageIndicator = nil
|
||||
} else if let blurHash = viewModel.attachment.blurhash {
|
||||
placeholderImage = UIImage(blurHash: blurHash, size: .blurHashSize)
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue