forked from shadowfacts/Tusker
Fix displaying images on iOS 14
This commit is contained in:
parent
79b23127e9
commit
eaefa366b7
2
Gifu
2
Gifu
|
@ -1 +1 @@
|
||||||
Subproject commit ed572f53ce58b8e23499abeb3a926033cbe480f7
|
Subproject commit 9b1a6461aa3b5f66cb0ed3a50c5523db0b4fb007
|
|
@ -46,6 +46,8 @@ class LargeImageImageContentView: UIImageView, GIFAnimatable, LargeImageContentV
|
||||||
}
|
}
|
||||||
|
|
||||||
override public func display(_ layer: CALayer) {
|
override public func display(_ layer: CALayer) {
|
||||||
|
super.display(layer)
|
||||||
|
|
||||||
updateImageIfNeeded()
|
updateImageIfNeeded()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -177,6 +177,8 @@ class AttachmentView: UIImageView, GIFAnimatable {
|
||||||
}
|
}
|
||||||
|
|
||||||
override func display(_ layer: CALayer) {
|
override func display(_ layer: CALayer) {
|
||||||
|
super.display(layer)
|
||||||
|
|
||||||
updateImageIfNeeded()
|
updateImageIfNeeded()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue