File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
src/Files.App/UserControls Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 208
208
Orientation=" Horizontal" >
209
209
<RadioButton
210
210
Content=" {helpers:ResourceString Name=Locals}"
211
- IsChecked=" {x:Bind DirectoryPropertiesViewModel.ShowLocals, Mode=TwoWay}"
211
+ DataContext=" {x:Bind DirectoryPropertiesViewModel, Mode=OneWay}"
212
+ IsChecked=" {Binding ShowLocals, Mode=TwoWay}"
212
213
Style=" {StaticResource Local.RadioButtonStyle}" />
213
214
<RadioButton Content =" {helpers:ResourceString Name=Remotes}" Style =" {StaticResource Local.RadioButtonStyle}" />
214
215
</StackPanel >
231
232
Grid.Row=" 1"
232
233
Padding=" 4"
233
234
Background=" {ThemeResource CardBackgroundFillColorDefaultBrush}"
235
+ DataContext=" {x:Bind DirectoryPropertiesViewModel, Mode=OneWay}"
234
236
IsItemClickEnabled=" True"
235
237
ItemClick=" BranchesList_ItemClick"
236
238
ItemsSource=" {x:Bind DirectoryPropertiesViewModel.BranchesNames, Mode=OneWay}"
237
- SelectedIndex=" {x:Bind DirectoryPropertiesViewModel. SelectedBranchIndex, Mode=TwoWay}"
239
+ SelectedIndex=" {Binding SelectedBranchIndex, Mode=TwoWay}"
238
240
SelectionMode=" Single" />
239
241
</Grid >
240
242
</Flyout >
You can’t perform that action at this time.
0 commit comments