Fix "blinking" regression media views.

pull/1/head
Matthew Chen 6 years ago
parent 047afe21ae
commit 962c1acc9f

@ -435,9 +435,7 @@ public class ConversationMediaView: UIView {
let mediaCache = self.mediaCache
if let media = mediaCache.object(forKey: cacheKey as NSString) {
Logger.verbose("media cache hit")
DispatchQueue.main.async {
loadCompletion(media)
}
loadCompletion(media)
return
}

Loading…
Cancel
Save