Skip to content

Commit 6bd6d15

Browse files
committed
Set ExtendsContentIntoTitleBar only on Windows10+
1 parent 7bba976 commit 6bd6d15

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/Codebreaker.Uno/CodebreakerUno/Views/Pages/ShellPage.xaml.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ public ShellPage(ShellViewModel viewModel)
1313
ViewModel.NavigationService.Frame = NavigationFrame;
1414
ViewModel.NavigationViewService.Initialize(NavigationViewControl);
1515

16+
#if WINDOWS10_0_17763_0_OR_GREATER
1617
App.Current.MainWindow!.ExtendsContentIntoTitleBar = true;
18+
#endif
1719
AppTitleBarText.Text = "AppDisplayName".GetLocalized();
1820
}
1921

0 commit comments

Comments
 (0)