Skip to content

Commit

Permalink
Cr comments
Browse files Browse the repository at this point in the history
  • Loading branch information
kubaflo committed Jul 19, 2024
1 parent e535d48 commit e8da440
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 @@ -134,7 +134,7 @@ public override void LayoutSubviews()
}

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

public override void SetNeedsLayout()
Expand Down Expand Up @@ -178,10 +178,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 e8da440

Please sign in to comment.