1
0
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:
Justin Mazzocchi 2021-03-10 17:52:20 -08:00
parent 045524f6a5
commit a4d2e89296
No known key found for this signature in database
GPG Key ID: E223E6937AAFB01C

View File

@ -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 {