Skip to content

Commit

Permalink
Merge pull request #25 from Epsiloni/main
Browse files Browse the repository at this point in the history
Removed double gradient resulting in washed colors.
  • Loading branch information
markiv authored Jun 3, 2024
2 parents e3aa422 + da581c3 commit 0226e21
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Sources/Shimmer/Shimmer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ public struct Shimmer: ViewModifier {

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

0 comments on commit 0226e21

Please sign in to comment.