Skip to content

Commit

Permalink
replace hardcoded font with theme resource
Browse files Browse the repository at this point in the history
  • Loading branch information
jwmsft committed Jul 22, 2021
1 parent 35422d0 commit fc7c0ea
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ContosoApp/AppShell.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
ToolTipService.ToolTip="View code"
Tapped="ViewCodeNavPaneButton_Tapped">
<muxc:NavigationViewItem.Icon>
<FontIcon FontFamily="Segoe MDL2 Assets" Glyph="&#xE943;"/>
<FontIcon Glyph="&#xE943;"/>
</muxc:NavigationViewItem.Icon>
</muxc:NavigationViewItem>
<uc:AuthenticationControl/>
Expand Down
6 changes: 3 additions & 3 deletions ContosoApp/Views/OrderDetailPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
BorderThickness="0"
Click="RemoveProduct_Click"
Content="&#xE711;"
FontFamily="Segoe MDL2 Assets"
FontFamily="{ThemeResource SymbolThemeFontFamily}"
Foreground="Red" />
</Grid>
</DataTemplate>
Expand Down Expand Up @@ -444,7 +444,7 @@
BorderThickness="0"
Click="AddProductButton_Click"
Content="&#xE73E;"
FontFamily="Segoe MDL2 Assets"
FontFamily="{ThemeResource SymbolThemeFontFamily}"
Foreground="Green"
Visibility="{x:Bind ViewModel.HasNewLineItem, Mode=OneWay}" />
<Button
Expand All @@ -458,7 +458,7 @@
BorderThickness="0"
Click="CancelProductButton_Click"
Content="&#xE711;"
FontFamily="Segoe MDL2 Assets"
FontFamily="{ThemeResource SymbolThemeFontFamily}"
Foreground="Red"
Visibility="{x:Bind ViewModel.HasNewLineItem, Mode=OneWay}" />
</Grid>
Expand Down

0 comments on commit fc7c0ea

Please sign in to comment.