Fix full size image not being loaded on first appearance of focused attachment view
This commit is contained in:
parent
f68d1009e5
commit
b6a5a60066
|
@ -22,7 +22,7 @@ class AttachmentThumbnailController: ViewController {
|
||||||
}
|
}
|
||||||
|
|
||||||
func loadImageIfNecessary(fullSize: Bool) {
|
func loadImageIfNecessary(fullSize: Bool) {
|
||||||
if (gifController != nil) || (image != nil && fullSize == self.fullSize) {
|
if (gifController != nil) || (image != nil && self.fullSize) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
self.fullSize = fullSize
|
self.fullSize = fullSize
|
||||||
|
|
Loading…
Reference in New Issue