Skip to content

Commit 1f5ecd1

Browse files
committed
some minor fix
1 parent 3cec343 commit 1f5ecd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/ComponentsKit/ProgressBar/SUProgressBar.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public struct SUProgressBar: View {
5757
.frame(width: geometry.size.width, height: self.model.barHeight)
5858

5959
RoundedRectangle(cornerRadius: self.model.innerCornerRadius)
60-
.foregroundStyle((self.model.color.contrast ?? .foreground).color)
60+
.foregroundStyle(self.model.color.contrast.color)
6161
.frame(width: (geometry.size.width - 6) * self.progress, height: self.model.barHeight - 6)
6262
.padding(.vertical, self.model.contentPaddings.top)
6363
.padding(.horizontal, self.model.contentPaddings.trailing)

0 commit comments

Comments
 (0)