mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-06-08 12:25:00 +00:00
fix: remove binding error in debug mode (#1338)
Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
parent
f0d1d460a9
commit
53c6fc8999
6 changed files with 11 additions and 6 deletions
|
@ -58,8 +58,10 @@
|
|||
<Border Grid.Row="2" BorderBrush="{DynamicResource Brush.Border2}" BorderThickness="1,0,1,1" Background="Transparent">
|
||||
<TextBlock Margin="4,0,0,0"
|
||||
Foreground="{DynamicResource Brush.FG2}"
|
||||
Text="{Binding Changes.Count, Converter={x:Static c:StringConverters.FormatByResourceKey}, ConverterParameter='CommitDetail.Changes.Count', Mode=OneWay}"
|
||||
HorizontalAlignment="Left" VerticalAlignment="Center"/>
|
||||
HorizontalAlignment="Left" VerticalAlignment="Center">
|
||||
<Run Text="{Binding Changes, Converter={x:Static c:ListConverters.Count}, Mode=OneWay}" FontWeight="Bold"/>
|
||||
<Run Text="{DynamicResource Text.CommitDetail.Changes.Count}"/>
|
||||
</TextBlock>
|
||||
</Border>
|
||||
</Grid>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue