Skip to content

Commit

Permalink
Cr comments
Browse files Browse the repository at this point in the history
  • Loading branch information
kubaflo authored and rmarinho committed Oct 10, 2024
1 parent 3dc54e7 commit 718e416
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ public Issue12429(TestDevice device) : base(device)
{ }

[Test]
[Category(UITestCategories.CollectionView)]
public async Task HeaderShouldNotCollapseWithItems()
{
App.WaitForElement("button");
Expand Down
7 changes: 1 addition & 6 deletions src/Core/src/Platform/iOS/MauiView.cs
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ public override void LayoutSubviews()
}

CrossPlatformArrange(bounds);
OnLayoutChanged();
LayoutChanged?.Invoke(this, EventArgs.Empty);
}

public override void SetNeedsLayout()
Expand Down Expand Up @@ -202,10 +202,5 @@ public override void MovedToWindow()

[UnconditionalSuppressMessage("Memory", "MEM0001", Justification = IUIViewLifeCycleEvents.UnconditionalSuppressMessage)]
internal event EventHandler? LayoutChanged;

private void OnLayoutChanged()
{
LayoutChanged?.Invoke(this, EventArgs.Empty);
}
}
}

0 comments on commit 718e416

Please sign in to comment.