Skip to content

Commit 058dd67

Browse files
committed
.foregroundStyle fix
- fix for case .striped (color .clear)
1 parent 890627d commit 058dd67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/ComponentsKit/Components/Slider/SUSlider.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public struct SUSlider: View {
7878
case .striped:
7979
ZStack {
8080
RoundedRectangle(cornerRadius: self.model.cornerRadius(for: self.model.trackHeight))
81-
.foregroundStyle(self.model.color.contrast.color)
81+
.foregroundStyle(.clear)
8282

8383
StripesShapeSlider(model: self.model)
8484
.foregroundStyle(self.model.color.main.color)

0 commit comments

Comments
 (0)