Skip to content

Commit c25fc7b

Browse files
authored
fix: TabBarItem Icon should respect templated parent Foreground (#472)
1 parent 5d70c5f commit c25fc7b

File tree

1 file changed

+1
-1
lines changed
  • src/library/Uno.Toolkit.Material/Styles/Controls/v2

1 file changed

+1
-1
lines changed

src/library/Uno.Toolkit.Material/Styles/Controls/v2/TabBar.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@
332332
HorizontalAlignment="Center">
333333
<ContentPresenter x:Name="Icon"
334334
Content="{TemplateBinding Icon}"
335-
Foreground="{ThemeResource OnSurfaceVariantBrush}" />
335+
Foreground="{TemplateBinding Foreground}" />
336336
</Viewbox>
337337
</Border>
338338

0 commit comments

Comments
 (0)