mirror of
https://github.com/metabolist/metatext
synced 2025-01-04 22:06:48 +01:00
Hide indicator if preview image is cached
This commit is contained in:
parent
045524f6a5
commit
a4d2e89296
@ -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 New Issue
Block a user