Skip to content

Commit 0e602a2

Browse files
Naming
1 parent 03194dd commit 0e602a2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Files.App.Controls/ThemedIcon/ThemedIcon.Properties.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ protected virtual void OnOutlineIconPropertyChanged(string oldValue, string newV
3232
protected virtual void OnColorPropertyChanged(Brush oldValue, Brush newValue)
3333
{
3434
OnIconTypeChanged();
35-
UpdateColor(newValue);
35+
OnIconColorChanged(newValue);
3636
}
3737

3838
protected virtual void OnIconTypePropertyChanged(ThemedIconTypes oldValue, ThemedIconTypes newValue)

src/Files.App.Controls/ThemedIcon/ThemedIcon.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ private void OnIsEnabledChanged(object sender, DependencyPropertyChangedEventArg
241241
UpdateVisualStates();
242242
}
243243

244-
private void UpdateColor(Brush newColor)
244+
private void OnIconColorChanged(Brush newColor)
245245
{
246246
if (GetTemplateChild(OutlineIconPath) is Path outlinePath)
247247
outlinePath.Fill = newColor;

0 commit comments

Comments
 (0)