Skip to content

Commit

Permalink
Fix: Fixed binding errors in InnerNavigationToolbar
Browse files Browse the repository at this point in the history
  • Loading branch information
yaira2 committed Mar 4, 2024
1 parent 2fca3f3 commit 3b59c34
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/Files.App/UserControls/InnerNavigationToolbar.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -791,8 +791,8 @@
<!-- Details -->
<StackPanel
x:Name="DetailsView"
x:Load="{x:Bind ViewModel.IsDetailsLayout, Mode=OneWay}"
Spacing="4">
Spacing="4"
Visibility="{x:Bind ViewModel.IsDetailsLayout, Mode=OneWay}">
<Slider
x:Name="DetailsViewSlider"
Padding="4,0,4,0"
Expand Down Expand Up @@ -857,8 +857,8 @@
<!-- List -->
<StackPanel
x:Name="ListView"
x:Load="{x:Bind ViewModel.IsListLayout, Mode=OneWay}"
Spacing="4">
Spacing="4"
Visibility="{x:Bind ViewModel.IsListLayout, Mode=OneWay}">
<Slider
x:Name="ListViewSlider"
Padding="4,0,4,0"
Expand Down Expand Up @@ -925,14 +925,14 @@
<!--<Slider
x:Name="TilesViewSlider"
Padding="4,0,4,0"
x:Load="{x:Bind ViewModel.IsTilesLayout, Mode=OneWay}"
Visibility="{x:Bind ViewModel.IsTilesLayout, Mode=OneWay}"
IsEnabled="False"
IsThumbToolTipEnabled="False" />-->
<StackPanel
x:Name="TilesViewSizeInfo"
x:Load="{x:Bind ViewModel.IsTilesLayout, Mode=OneWay}"
Orientation="Horizontal"
Spacing="8">
Spacing="8"
Visibility="{x:Bind ViewModel.IsTilesLayout, Mode=OneWay}">
<FontIcon FontFamily="Segoe Fluent Icons" Glyph="&#xE946;" />
<TextBlock Text="{helpers:ResourceString Name=TilesViewSizeInfo}" />
</StackPanel>
Expand Down Expand Up @@ -1013,8 +1013,8 @@
<!-- Columns -->
<StackPanel
x:Name="ColumnsView"
x:Load="{x:Bind ViewModel.IsColumnLayout, Mode=OneWay}"
Spacing="4">
Spacing="4"
Visibility="{x:Bind ViewModel.IsColumnLayout, Mode=OneWay}">
<Slider
x:Name="ColumnViewSlider"
Padding="4,0,4,0"
Expand Down

0 comments on commit 3b59c34

Please sign in to comment.