From a4970f9fcd6b0a95740aa85b8da164a4e44867b9 Mon Sep 17 00:00:00 2001 From: Marcin Czachursk Date: Mon, 23 Jan 2023 18:20:59 +0100 Subject: [PATCH] Set lazy image priority. --- Vernissage/Widgets/ImageRowAsync.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Vernissage/Widgets/ImageRowAsync.swift b/Vernissage/Widgets/ImageRowAsync.swift index a4f8563..526b669 100644 --- a/Vernissage/Widgets/ImageRowAsync.swift +++ b/Vernissage/Widgets/ImageRowAsync.swift @@ -68,6 +68,7 @@ struct ImageRowAsync: View { .frame(width: self.imageWidth, height: self.imageHeight) } } + .priority(.high) .onSuccess { imageResponse in self.recalculateSizeOfDownloadedImage(imageResponse: imageResponse) }