ProgressIndicatorView
ProgressIndicatorView copied to clipboard
circle() progress always renders an arc even when progress is 0
import SwiftUI
import ProgressIndicatorView
struct TestingProgress: View {
@State private var isVisible:Bool = true
@State private var progress:CGFloat = 0
var body: some View {
ProgressIndicatorView(isVisible: $isVisible, type: .circle(progress: $progress, lineWidth: 3, strokeColor: .white))
.frame(width: 128)
}
}
#Preview {
TestingProgress()
}
Ends up With: