Skip to content

Commit

Permalink
chore: fix wording
Browse files Browse the repository at this point in the history
Co-authored-by: Agnès ZITTE <16295702+agneszitte@users.noreply.github.com>
  • Loading branch information
Xiaoy312 and agneszitte committed Apr 28, 2023
1 parent 14996dd commit 132fc63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Uno.Toolkit.UI/Controls/Chips/ChipGroup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,13 @@ private void ApplyIconTemplate(DataTemplate? oldTemplate, DataTemplate? newTempl
if (newTemplate is not null)
{
// If there was no Icon assigned, use Content as Icon
// Otherwise the icon-presenter will not display anything without a icon
// Otherwise the icon presenter will not display anything without an icon
container.Icon ??= container.Content;
container.IconTemplate = newTemplate;
}
else
{
// clear icon if we previously used content for icon
// clear icon if we previously used content for the icon
if (container.Icon == container.Content)
{
container.Icon = null;
Expand Down

0 comments on commit 132fc63

Please sign in to comment.