Skip to content

Commit

Permalink
fix method
Browse files Browse the repository at this point in the history
  • Loading branch information
Edward Miller committed Sep 10, 2024
1 parent b4e618d commit a668154
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Maui.DataGrid/DataGrid.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1383,11 +1383,11 @@ private IEnumerable<object> GetPaginatedItems(IEnumerable<object> unpaginatedIte
}

/// <summary>
/// Checks if PageSizeList contains the new PageSize value, so that it shows in the dropdown
/// Checks if PageSizeList contains the new PageSize value, so that it shows in the dropdown.
/// </summary>
private void UpdatePageSizeList()
{
if (PageSizeList.Contains(PageSize))
if (_pageSizeList.Contains(PageSize))
{
return;
}
Expand Down

0 comments on commit a668154

Please sign in to comment.