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

[Core] Fix incorrect check in IndicatorView #14659

Merged
merged 1 commit into from
Oct 2, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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