Skip to content

Commit

Permalink
Fixing Dark mode for SymbolDisplay on WinUI and UWP sample apps
Browse files Browse the repository at this point in the history
  • Loading branch information
prathameshnarkhede committed Sep 20, 2024
1 parent 34a3607 commit 22eef9e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/Samples/Toolkit.SampleApp.UWP/MainPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
</ListView>
</SplitView.Pane>
<Grid>
<Frame x:Name="rootFrame" Background="{ThemeResource ApplicationForegroundThemeBrush}" />
<Frame x:Name="rootFrame" />


<Border x:Name="ApiKeyWindow" Background="{ThemeResource ApplicationPageBackgroundThemeBrush}" d:Visibility="Visible" Visibility="Collapsed">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,9 @@
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:esri="using:Esri.ArcGISRuntime.Toolkit.UI.Controls"
mc:Ignorable="d"
RequestedTheme="Light">
mc:Ignorable="d">

<Grid x:Name="SymbolGrid" Background="LightGray">
<Grid x:Name="SymbolGrid">
<Grid.ColumnDefinitions>
<ColumnDefinition />
<ColumnDefinition />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,9 @@
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:esri="using:Esri.ArcGISRuntime.Toolkit.UI.Controls"
mc:Ignorable="d"
RequestedTheme="Light">

<Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
mc:Ignorable="d">

<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" />
<ColumnDefinition />
Expand Down
2 changes: 1 addition & 1 deletion src/Samples/Toolkit.SampleApp.WinUI/MainWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
</ListView>
</SplitView.Pane>
<Grid>
<Frame x:Name="rootFrame" Background="{ThemeResource ApplicationForegroundThemeBrush}" >
<Frame x:Name="rootFrame" >
<local:WelcomePage />
</Frame>

Expand Down

0 comments on commit 22eef9e

Please sign in to comment.