Set lazy image priority.

This commit is contained in:
Marcin Czachursk 2023-01-23 18:20:59 +01:00
parent 5736734695
commit a4970f9fcd
1 changed files with 1 additions and 0 deletions

View File

@ -68,6 +68,7 @@ struct ImageRowAsync: View {
.frame(width: self.imageWidth, height: self.imageHeight)
}
}
.priority(.high)
.onSuccess { imageResponse in
self.recalculateSizeOfDownloadedImage(imageResponse: imageResponse)
}