From 4b2c4a29e3d8d4d28756d792dd63842db544fdf1 Mon Sep 17 00:00:00 2001 From: Steve Bilogan Date: Wed, 14 Dec 2022 16:50:21 -0500 Subject: [PATCH] fix: Windows crash --- samples/Directory.Packages.props | 1 + .../Uno.Toolkit.Material/Styles/Controls/v2/NavigationBar.xaml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/samples/Directory.Packages.props b/samples/Directory.Packages.props index 700cd90e7..3292ce3c0 100644 --- a/samples/Directory.Packages.props +++ b/samples/Directory.Packages.props @@ -20,6 +20,7 @@ + diff --git a/src/library/Uno.Toolkit.Material/Styles/Controls/v2/NavigationBar.xaml b/src/library/Uno.Toolkit.Material/Styles/Controls/v2/NavigationBar.xaml index a2ce814f3..16eeefae0 100644 --- a/src/library/Uno.Toolkit.Material/Styles/Controls/v2/NavigationBar.xaml +++ b/src/library/Uno.Toolkit.Material/Styles/Controls/v2/NavigationBar.xaml @@ -384,7 +384,7 @@ ContentTransitions="{TemplateBinding ContentTransitions}" Foreground="{TemplateBinding Foreground}" FontFamily="{ThemeResource MaterialRegularFontFamily}" - FontSize="{ThemeResource TitleLargeFontWeight}" + FontSize="{ThemeResource TitleLargeFontSize}" FontWeight="{ThemeResource TitleLargeFontWeight}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"