File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ public void UpdateTheme()
5858 {
5959 case ApplicationTheme . Dark :
6060 case ApplicationTheme . Light :
61- if ( _appWindow . TitleBar is not null )
61+ if ( AppWindowTitleBar . IsCustomizationSupported ( ) )
6262 {
6363 _appWindow . TitleBar . ButtonHoverBackgroundColor = ( Color ) Application . Current . Resources [ "SystemBaseLowColor" ] ;
6464 _appWindow . TitleBar . ButtonForegroundColor = ( Color ) Application . Current . Resources [ "SystemBaseHighColor" ] ;
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ private void EnsureEarlyWindow()
4242 // Set title
4343 AppWindow . Title = "SecureFolderFS" ;
4444
45- if ( AppWindow . TitleBar is not null )
45+ if ( AppWindowTitleBar . IsCustomizationSupported ( ) )
4646 {
4747 // Extend title bar
4848 AppWindow . TitleBar . ExtendsContentIntoTitleBar = true ;
You can’t perform that action at this time.
0 commit comments