Skip to content

Commit

Permalink
Update LayoutHandler.Windows.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
PureWeen authored Jul 2, 2024
1 parent 6596ec5 commit 850d1fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Core/src/Handlers/Layout/LayoutHandler.Windows.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ void ILayoutHandler2.Remove(LayoutHandlerUpdate args)
{
var targetIndex = VirtualView.GetLayoutHandlerIndex(args.View);

if(targetIndex < PlatformView.Children.Length)
if(targetIndex < PlatformView.Children.Count)
{
var childToRemove = PlatformView.Children[targetIndex];
PlatformView.Children.Remove(childToRemove);
Expand Down

0 comments on commit 850d1fe

Please sign in to comment.