perf: run more kingfisher stuff in the background
This commit is contained in:
@@ -53,6 +53,8 @@ struct InnerProfilePicView: View {
|
|||||||
var body: some View {
|
var body: some View {
|
||||||
Group {
|
Group {
|
||||||
KFAnimatedImage(url)
|
KFAnimatedImage(url)
|
||||||
|
.callbackQueue(.dispatch(.global(qos: .background)))
|
||||||
|
.processingQueue(.dispatch(.global(qos: .background)))
|
||||||
.configure { view in
|
.configure { view in
|
||||||
view.framePreloadCount = 1
|
view.framePreloadCount = 1
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user