Our team has this crash reported to Crashlytics, but not reproducible locally. We are not using Shimmer, but we do have some similar code for example
.mask(LinearGradient(gradient: Gradient(stops: [
.init(color: .clear, location: 0),
.init(color: .black, location: 0.05),
.init(color: .black, location: 0.95),
.init(color: .clear, location: 1),
]),
startPoint: .leading,
endPoint: .trailing))
When I looked at the fix on Shimmer repo, it seems adding one line for animation .animation(animation, value: isInitialState) solves it.
wondering if it is the same fix for my code. If anyone can help, that would be highly apprecaited!
Topic:
UI Frameworks
SubTopic:
General
Tags: