Skip to content

Commit

Permalink
Fix the issue when Indicator is hidden, which still preserve the layo…
Browse files Browse the repository at this point in the history
…ut on watchOS (have no issues on iOS/tvOS/macOS)
  • Loading branch information
dreampiggy committed Feb 1, 2020
1 parent 7e92d42 commit 3353deb
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions SDWebImageSwiftUI/Classes/Indicator/Indicator.swift
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@ struct IndicatorViewModifier<T> : ViewModifier where T : View {
content
if imageManager.isLoading {
indicator.content($imageManager.isLoading, $imageManager.progress)
} else {
indicator.content($imageManager.isLoading, $imageManager.progress).hidden()
}
}
}
Expand Down

0 comments on commit 3353deb

Please sign in to comment.