Skip to content

Commit 4962871

Browse files
committed
Removing this
1 parent 0520da2 commit 4962871

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

maui/src/Expander/ExpanderHeader.cs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -606,20 +606,20 @@ public void OnTouch(Internals.PointerEventArgs e)
606606
Expander._effectsView.Reset();
607607

608608
// Restore icon color based on current state (following same logic as OnPropertyChanged)
609-
if (this.IsMouseHover)
609+
if (IsMouseHover)
610610
{
611-
if (this.Expander.HasVisualStateGroups())
611+
if (Expander.HasVisualStateGroups())
612612
{
613-
this.UpdateIconColor(this.Expander.HeaderIconColor);
613+
UpdateIconColor(Expander.HeaderIconColor);
614614
}
615615
else
616616
{
617-
this.UpdateIconColor(this.Expander.HoverIconColor);
617+
UpdateIconColor(Expander.HoverIconColor);
618618
}
619619
}
620-
else if (!this.Expander.IsSelected)
620+
else if (!Expander.IsSelected)
621621
{
622-
this.UpdateIconColor(this.Expander.HeaderIconColor);
622+
UpdateIconColor(Expander.HeaderIconColor);
623623
}
624624
}
625625

@@ -629,9 +629,9 @@ public void OnTouch(Internals.PointerEventArgs e)
629629
IsMouseHover = false;
630630

631631
// Restore icon color to normal state since mouse hover is reset
632-
if (!this.Expander.IsSelected)
632+
if (!Expander.IsSelected)
633633
{
634-
this.UpdateIconColor(this.Expander.HeaderIconColor);
634+
UpdateIconColor(Expander.HeaderIconColor);
635635
}
636636
}
637637
}

0 commit comments

Comments
 (0)