Skip to content

Commit

Permalink
update on change
Browse files Browse the repository at this point in the history
  • Loading branch information
joannaquu committed Feb 8, 2024
1 parent 12c93a3 commit 4974e98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/FluentUI/ActivityIndicator/ActivityIndicator.swift
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public struct ActivityIndicator: View, TokenizedControlView {
}
.opacity(!state.isAnimating && state.hidesWhenStopped ? 0 : 1)
.rotationEffect(.degrees(rotationAngle), anchor: .center)
.onChange(of: state.isAnimating) { newValue in
.onChange_iOS17(of: state.isAnimating) { newValue in
newValue ? startAnimation() : stopAnimation()
}
.frame(width: side,
Expand Down

0 comments on commit 4974e98

Please sign in to comment.