Skip to content

Commit

Permalink
chore: Adjust for ios activity indicator
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromelaban committed May 18, 2022
1 parent ce9ef6e commit 1998409
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/AddIns/Uno.UI.Lottie/LottieVisualSource.iOSmacOS.cs
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ namespace Microsoft.Toolkit.Uwp.UI.Lottie
partial class LottieVisualSourceBase
{
#if !__MACOS__
private NativeProgressRing? _nativeProgressRing;
private BindableUIActivityIndicatorView? _nativeProgressRing;
private IDisposable? _colorDisposable;
#endif

Expand Down Expand Up @@ -299,7 +299,7 @@ private bool TryLoadProgressRing()
#if !__MACOS__
if (_player?.TemplatedParent is Microsoft.UI.Xaml.Controls.ProgressRing progress)
{
_nativeProgressRing ??= new NativeProgressRing();
_nativeProgressRing ??= new BindableUIActivityIndicatorView();

#if __IOS__
_player?.Add(_nativeProgressRing);
Expand Down

0 comments on commit 1998409

Please sign in to comment.