Skip to content

Commit

Permalink
Code Quality: Moved toolbar background to MainPage (#15451)
Browse files Browse the repository at this point in the history
  • Loading branch information
yaira2 committed May 23, 2024
1 parent 290bb3d commit 876d1c4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
10 changes: 2 additions & 8 deletions src/Files.App/UserControls/SideBar/SideBarView.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -140,14 +140,8 @@
<Border
x:Name="ContentHeaderPresenter"
Grid.Row="0"
Margin="0,0,0,4"
VerticalAlignment="Stretch"
Background="{ThemeResource App.Theme.Toolbar.BackgroundBrush}"
BackgroundSizing="InnerBorderEdge"
BorderBrush="{ThemeResource CardStrokeColorDefaultBrush}"
BorderThickness="1"
Child="{x:Bind ContentHeader, Mode=OneWay}"
CornerRadius="8"
VerticalAlignment="Stretch"
Child="{x:Bind ContentHeader, Mode=OneWay}"
TabFocusNavigation="Local" />

<!-- Content -->
Expand Down
8 changes: 7 additions & 1 deletion src/Files.App/Views/MainPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,13 @@

<!-- Content Header -->
<sidebar:SidebarView.ContentHeader>
<Border>
<Border
Margin="0,0,0,4"
Background="{ThemeResource App.Theme.Toolbar.BackgroundBrush}"
BackgroundSizing="InnerBorderEdge"
BorderBrush="{ThemeResource CardStrokeColorDefaultBrush}"
BorderThickness="1"
CornerRadius="8">
<!-- File Navigation Toolbar -->
<uc:InnerNavigationToolbar
x:Name="InnerNavigationToolbar"
Expand Down

0 comments on commit 876d1c4

Please sign in to comment.