Skip to content

Commit

Permalink
fix: NRE in GPUFloatValueAnimator on iOS/macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromelaban committed Feb 5, 2022
1 parent 0c4d7ef commit a01b5a1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ public void Cancel()
ReleaseCoreAnimation();
}

public bool IsRunning => _valueAnimator.IsRunning;
public bool IsRunning => _valueAnimator?.IsRunning ?? false;

public long StartDelay
{
Expand Down

0 comments on commit a01b5a1

Please sign in to comment.