Fix displaying images on iOS 14

This commit is contained in:
Shadowfacts 2020-08-15 17:03:02 -04:00
parent 79b23127e9
commit eaefa366b7
Signed by: shadowfacts
GPG Key ID: 94A5AB95422746E5
3 changed files with 5 additions and 1 deletions

2
Gifu

@ -1 +1 @@
Subproject commit ed572f53ce58b8e23499abeb3a926033cbe480f7
Subproject commit 9b1a6461aa3b5f66cb0ed3a50c5523db0b4fb007

View File

@ -46,6 +46,8 @@ class LargeImageImageContentView: UIImageView, GIFAnimatable, LargeImageContentV
}
override public func display(_ layer: CALayer) {
super.display(layer)
updateImageIfNeeded()
}
}

View File

@ -177,6 +177,8 @@ class AttachmentView: UIImageView, GIFAnimatable {
}
override func display(_ layer: CALayer) {
super.display(layer)
updateImageIfNeeded()
}