Skip to content

Commit 0226e21

Browse files
authored
Merge pull request #25 from Epsiloni/main
Removed double gradient resulting in washed colors.
2 parents e3aa422 + da581c3 commit 0226e21

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Sources/Shimmer/Shimmer.swift

-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@ public struct Shimmer: ViewModifier {
9494

9595
public func body(content: Content) -> some View {
9696
applyingGradient(to: content)
97-
.mask(LinearGradient(gradient: gradient, startPoint: startPoint, endPoint: endPoint))
9897
.animation(animation, value: isInitialState)
9998
.onAppear {
10099
// Delay the animation until the initial layout is established

0 commit comments

Comments
 (0)