Browse Source

Fix displaying images on iOS 14

async
Shadowfacts 1 year ago
parent
commit
eaefa366b7
Signed by: shadowfacts GPG Key ID: 94A5AB95422746E5
  1. 2
      Gifu
  2. 2
      Tusker/Screens/Large Image/LargeImageContentView.swift
  3. 2
      Tusker/Views/Attachments/AttachmentView.swift

2
Gifu

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

2
Tusker/Screens/Large Image/LargeImageContentView.swift

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

2
Tusker/Views/Attachments/AttachmentView.swift

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

Loading…
Cancel
Save