We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3cec343 commit 1f5ecd1Copy full SHA for 1f5ecd1
Sources/ComponentsKit/ProgressBar/SUProgressBar.swift
@@ -57,7 +57,7 @@ public struct SUProgressBar: View {
57
.frame(width: geometry.size.width, height: self.model.barHeight)
58
59
RoundedRectangle(cornerRadius: self.model.innerCornerRadius)
60
- .foregroundStyle((self.model.color.contrast ?? .foreground).color)
+ .foregroundStyle(self.model.color.contrast.color)
61
.frame(width: (geometry.size.width - 6) * self.progress, height: self.model.barHeight - 6)
62
.padding(.vertical, self.model.contentPaddings.top)
63
.padding(.horizontal, self.model.contentPaddings.trailing)
0 commit comments