Skip to content

Commit

Permalink
address warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Edward Miller committed Jan 23, 2024
1 parent 039a672 commit 20a0308
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Maui.DataGrid/ObservableRangeCollection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ public void RemoveRange(IEnumerable<T> collection, NotifyCollectionChangedAction
/// Clears the current collection and replaces it with the specified item.
/// </summary>
/// <param name="item">The item to replace the collection with.</param>
public void Replace(T item) => ReplaceRange(new T[] { item });
public void Replace(T item) => ReplaceRange([item]);

/// <summary>
/// Clears the current collection and replaces it with the specified collection.
Expand Down

0 comments on commit 20a0308

Please sign in to comment.