Set lazy image priority.
This commit is contained in:
parent
5736734695
commit
a4970f9fcd
|
@ -68,6 +68,7 @@ struct ImageRowAsync: View {
|
|||
.frame(width: self.imageWidth, height: self.imageHeight)
|
||||
}
|
||||
}
|
||||
.priority(.high)
|
||||
.onSuccess { imageResponse in
|
||||
self.recalculateSizeOfDownloadedImage(imageResponse: imageResponse)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue