Skip to content

Commit 62cb2e0

Browse files
committed
Ensure Settings NavigationView doesn't become Acrylic
1 parent 50fa78d commit 62cb2e0

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

Files/Views/Pages/Settings.xaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,26 @@
2222
PaneDisplayMode="Top"
2323
PaneTitle="Settings"
2424
SelectionChanged="SettingsPane_SelectionChanged">
25+
<muxc:NavigationView.Resources>
26+
<ResourceDictionary>
27+
<ResourceDictionary.ThemeDictionaries>
28+
<ResourceDictionary x:Key="Light">
29+
<StaticResource x:Key="NavigationViewDefaultPaneBackground" ResourceKey="ApplicationPageBackgroundThemeBrush" />
30+
<StaticResource x:Key="NavigationViewExpandedPaneBackground" ResourceKey="ApplicationPageBackgroundThemeBrush" />
31+
<StaticResource x:Key="NavigationViewTopPaneBackground" ResourceKey="ApplicationPageBackgroundThemeBrush" />
32+
</ResourceDictionary>
33+
<ResourceDictionary x:Key="Dark">
34+
<StaticResource x:Key="NavigationViewDefaultPaneBackground" ResourceKey="ApplicationPageBackgroundThemeBrush" />
35+
<StaticResource x:Key="NavigationViewExpandedPaneBackground" ResourceKey="ApplicationPageBackgroundThemeBrush" />
36+
<StaticResource x:Key="NavigationViewTopPaneBackground" ResourceKey="ApplicationPageBackgroundThemeBrush" />
37+
</ResourceDictionary>
38+
<ResourceDictionary x:Key="HighContrast">
39+
40+
</ResourceDictionary>
41+
</ResourceDictionary.ThemeDictionaries>
42+
</ResourceDictionary>
43+
</muxc:NavigationView.Resources>
44+
2545
<muxc:NavigationView.AutoSuggestBox>
2646
<AutoSuggestBox
2747
x:Uid="SettingsNavSearch"

0 commit comments

Comments
 (0)