Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Commit

Permalink
Fix incorrect check in IndicatorView (Core) (#14659)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsuarezruiz committed Oct 2, 2021
1 parent 6549178 commit b914676
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Xamarin.Forms.Core/IndicatorView.cs
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ static void UpdateIndicatorLayout(IndicatorView indicatorView, object newValue)
{
indicatorView.IndicatorLayout = new IndicatorStackLayout(indicatorView);
}
else if (indicatorView.IndicatorLayout == null)
else if (indicatorView.IndicatorLayout != null)
{
(indicatorView.IndicatorLayout as IndicatorStackLayout).Remove();
indicatorView.IndicatorLayout = null;
Expand Down

0 comments on commit b914676

Please sign in to comment.