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

Commit a4f9e11

Browse files
jsuarezruizsamhouts
authored andcommitted
Added cast SwipeView issue fix
1 parent a36f51b commit a4f9e11

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Xamarin.Forms.Core/SwipeView.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,10 @@ void UpdateSwipeItemsParent(SwipeItems swipeItems)
133133
swipeItems.Parent = this;
134134

135135
foreach (var item in swipeItems)
136+
{
136137
if (item is Element swipeItem && swipeItem.Parent == null)
137138
swipeItem.Parent = swipeItems;
139+
}
138140
}
139141
}
140142
}

0 commit comments

Comments
 (0)