included Sparkle

This commit is contained in:
Micha
2025-11-22 18:56:55 +01:00
parent db1f15f981
commit dc710d53aa
15 changed files with 579 additions and 28 deletions

View File

@@ -15,11 +15,10 @@ struct ShimmerModifier: ViewModifier {
guard active else { return }
animate()
}
.onChange(of: active) { isActive in
if isActive {
phase = -1
animate()
}
.onChange(of: active) {
guard active else { return }
phase = -1
animate()
}
}