Skip to content

Commit 3353deb

Browse files
committed
Fix the issue when Indicator is hidden, which still preserve the layout on watchOS (have no issues on iOS/tvOS/macOS)
1 parent 7e92d42 commit 3353deb

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

SDWebImageSwiftUI/Classes/Indicator/Indicator.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@ struct IndicatorViewModifier<T> : ViewModifier where T : View {
3838
content
3939
if imageManager.isLoading {
4040
indicator.content($imageManager.isLoading, $imageManager.progress)
41-
} else {
42-
indicator.content($imageManager.isLoading, $imageManager.progress).hidden()
4341
}
4442
}
4543
}

0 commit comments

Comments
 (0)