Fix "blinking" regression media views.

This commit is contained in:
Matthew Chen 2018-12-10 14:55:06 -05:00
parent 047afe21ae
commit 962c1acc9f

View file

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