Skip to content

Commit

Permalink
Only show flyout on category page (#1468)
Browse files Browse the repository at this point in the history
  • Loading branch information
williambohrmann3 authored Jul 9, 2024
1 parent 0cfa039 commit 054cf7c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/MAUI/Maui.Samples/Resources/Styles/Styles.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -471,6 +471,7 @@
<Setter Property="Shell.ForegroundColor" Value="White" />
<Setter Property="Shell.TitleColor" Value="White" />
<Setter Property="Shell.FlyoutBackground" Value="#832FBC" />
<Setter Property="Shell.FlyoutBehavior" Value="Disabled" />
<Setter Property="Shell.DisabledColor" Value="{AppThemeBinding Light={StaticResource LightGray}, Dark={StaticResource DarkGray}}" />
<Setter Property="Shell.UnselectedColor" Value="{AppThemeBinding Light={StaticResource LightGray}, Dark={StaticResource DarkGray}}" />
<Setter Property="Shell.NavBarHasShadow" Value="False" />
Expand Down
1 change: 1 addition & 0 deletions src/MAUI/Maui.Samples/Views/CategoryPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
xmlns:models="clr-namespace:ArcGIS.Samples.Shared.Models"
xmlns:viewModels="clr-namespace:ArcGIS.ViewModels"
Title="{Binding SelectedCategory}"
Shell.FlyoutBehavior="Flyout"
x:DataType="viewModels:CategoryViewModel">

<ContentPage.ToolbarItems>
Expand Down

0 comments on commit 054cf7c

Please sign in to comment.