Skip to content

Commit 7117bb5

Browse files
keandcalhoun
andauthored
Update ios/Sources/GutenbergKit/Sources/Views/HTMLPreview/HTMLPreviewManager.swift
Co-authored-by: David Calhoun <github@davidcalhoun.me>
1 parent a6e052e commit 7117bb5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ios/Sources/GutenbergKit/Sources/Views/HTMLPreview/HTMLPreviewManager.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ private func encode(_ image: UIImage) -> Data? {
286286
return nil
287287
}
288288

289-
// Important to ignore the alpha channel (we now screenshots are opaque)
289+
// Important to ignore the alpha channel (we know screenshots are opaque)
290290
// to avoid warnings from ImageIO about saving HEIF with alpha channel but
291291
// opqaue pixels. Storing opqaue images reduces the image size and the
292292
// memory needed for decoding by two times.

0 commit comments

Comments
 (0)