Browse Source

perf: run more kingfisher stuff in the background

post-button-style
William Casarin 2 years ago
parent
commit
068099c5a7
  1. 2
      damus/Views/ProfilePicView.swift

2
damus/Views/ProfilePicView.swift

@ -53,6 +53,8 @@ struct InnerProfilePicView: View {
var body: some View {
Group {
KFAnimatedImage(url)
.callbackQueue(.dispatch(.global(qos: .background)))
.processingQueue(.dispatch(.global(qos: .background)))
.configure { view in
view.framePreloadCount = 1
}

Loading…
Cancel
Save