From b6a5a600664e05145fc2dbd03ba983cb6080387b Mon Sep 17 00:00:00 2001 From: Shadowfacts Date: Thu, 4 May 2023 21:06:59 -0400 Subject: [PATCH] Fix full size image not being loaded on first appearance of focused attachment view --- .../ComposeUI/Controllers/AttachmentThumbnailController.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Packages/ComposeUI/Sources/ComposeUI/Controllers/AttachmentThumbnailController.swift b/Packages/ComposeUI/Sources/ComposeUI/Controllers/AttachmentThumbnailController.swift index c157469c..411c3768 100644 --- a/Packages/ComposeUI/Sources/ComposeUI/Controllers/AttachmentThumbnailController.swift +++ b/Packages/ComposeUI/Sources/ComposeUI/Controllers/AttachmentThumbnailController.swift @@ -22,7 +22,7 @@ class AttachmentThumbnailController: ViewController { } func loadImageIfNecessary(fullSize: Bool) { - if (gifController != nil) || (image != nil && fullSize == self.fullSize) { + if (gifController != nil) || (image != nil && self.fullSize) { return } self.fullSize = fullSize