diff --git a/ch02_DesigningViews/ex_CustomToolbar/App.xaml b/ch02_DesigningViews/ex_CustomToolbar/App.xaml index 4eaeefe..89ed686 100644 --- a/ch02_DesigningViews/ex_CustomToolbar/App.xaml +++ b/ch02_DesigningViews/ex_CustomToolbar/App.xaml @@ -8,6 +8,7 @@ + diff --git a/ch02_DesigningViews/ex_CustomToolbar/AppShell.xaml b/ch02_DesigningViews/ex_CustomToolbar/AppShell.xaml index 811451f..bcc36f2 100644 --- a/ch02_DesigningViews/ex_CustomToolbar/AppShell.xaml +++ b/ch02_DesigningViews/ex_CustomToolbar/AppShell.xaml @@ -7,7 +7,7 @@ xmlns:toolkit="http://schemas.microsoft.com/dotnet/2022/maui/toolkit" Shell.FlyoutBehavior="Disabled" Shell.Padding="0" - Shell.BackgroundColor="{AppThemeBinding Light={StaticResource Primary}, Dark={StaticResource PrimaryDark}}" + Shell.BackgroundColor="{DynamicResource PrimaryBackgroundColor}" Title="ex_CustomToolbar"> @@ -65,11 +65,26 @@ SemanticProperties.Description="Welcome to dot net Multi platform App U I" />