Skip to content

Commit af4569f

Browse files
committed
Fix the refactory cause the indicator geometry size wrong. Should specify with border
1 parent 061853f commit af4569f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

SDWebImageSwiftUI/Classes/WebImage.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ public struct WebImage : View {
5252
Image(platformImage: WebImage.emptyImage)
5353
}
5454
}
55+
.frame(minWidth: 0, maxWidth: .infinity, minHeight: 0, maxHeight: .infinity)
5556
.onAppear {
5657
guard self.retryOnAppear else { return }
5758
if !self.imageManager.isFinished {

0 commit comments

Comments
 (0)