fix: blurhash image not display during image loading issue
This commit is contained in:
parent
18a902c8ae
commit
4c41e94f8d
|
@ -154,7 +154,7 @@ extension MediaView {
|
|||
.receive(on: DispatchQueue.main)
|
||||
.sink { [weak self] isReveal, previewImage, blurhashImage in
|
||||
guard let self = self else { return }
|
||||
let image = isReveal ? previewImage : blurhashImage
|
||||
let image = isReveal ? (previewImage ?? blurhashImage) : blurhashImage
|
||||
self.imageView.image = image
|
||||
}
|
||||
.store(in: &configuration.disposeBag)
|
||||
|
|
Loading…
Reference in New Issue