code_review: PR #208

* make sure there's only one radio button that will change the binding value
* remove unused code
This commit is contained in:
leo 2024-06-25 17:57:21 +08:00
parent b50ae21699
commit d43f88da03
No known key found for this signature in database
2 changed files with 2 additions and 21 deletions

View file

@ -182,7 +182,7 @@
Classes="icon_button"
Width="48"
GroupName="SearchGroup"
IsChecked="{Binding IsSearching, Mode=TwoWay, Converter={x:Static c:BoolConverters.Inverse}}">
IsChecked="{Binding !IsSearching, Mode=OneWay}">
<Path Width="14" Height="14" Stretch="Fill" HorizontalAlignment="Center" Data="{StaticResource Icons.Home}"/>
</RadioButton>