File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ public void UpdateTheme()
58
58
{
59
59
case ApplicationTheme . Dark :
60
60
case ApplicationTheme . Light :
61
- if ( _appWindow . TitleBar is not null )
61
+ if ( AppWindowTitleBar . IsCustomizationSupported ( ) )
62
62
{
63
63
_appWindow . TitleBar . ButtonHoverBackgroundColor = ( Color ) Application . Current . Resources [ "SystemBaseLowColor" ] ;
64
64
_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()
42
42
// Set title
43
43
AppWindow . Title = "SecureFolderFS" ;
44
44
45
- if ( AppWindow . TitleBar is not null )
45
+ if ( AppWindowTitleBar . IsCustomizationSupported ( ) )
46
46
{
47
47
// Extend title bar
48
48
AppWindow . TitleBar . ExtendsContentIntoTitleBar = true ;
You can’t perform that action at this time.
0 commit comments