Skip to content

Commit f1fabb7

Browse files
committed
A little code garden for AnimatedImage
1 parent 2869624 commit f1fabb7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

SDWebImageSwiftUI/Classes/AnimatedImage.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -400,6 +400,8 @@ public struct AnimatedImage : PlatformViewRepresentable {
400400
// IncrementalLoad
401401
if let incrementalLoad = imageConfiguration.incrementalLoad {
402402
view.wrapped.shouldIncrementalLoad = incrementalLoad
403+
} else {
404+
view.wrapped.shouldIncrementalLoad = true
403405
}
404406

405407
// MaxBufferSize

0 commit comments

Comments
 (0)