diff --git a/src/Files.App/UserControls/StatusBarControl.xaml b/src/Files.App/UserControls/StatusBarControl.xaml index 5a02ee72ba3cc..9f23946fb4856 100644 --- a/src/Files.App/UserControls/StatusBarControl.xaml +++ b/src/Files.App/UserControls/StatusBarControl.xaml @@ -208,7 +208,8 @@ Orientation="Horizontal"> @@ -231,10 +232,11 @@ Grid.Row="1" Padding="4" Background="{ThemeResource CardBackgroundFillColorDefaultBrush}" + DataContext="{x:Bind DirectoryPropertiesViewModel, Mode=OneWay}" IsItemClickEnabled="True" ItemClick="BranchesList_ItemClick" ItemsSource="{x:Bind DirectoryPropertiesViewModel.BranchesNames, Mode=OneWay}" - SelectedIndex="{x:Bind DirectoryPropertiesViewModel.SelectedBranchIndex, Mode=TwoWay}" + SelectedIndex="{Binding SelectedBranchIndex, Mode=TwoWay}" SelectionMode="Single" />