mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2025-01-10 23:47:21 -08:00
code_style: remove Rider warnings
This commit is contained in:
parent
45869c27b8
commit
9668efbd8c
1 changed files with 17 additions and 23 deletions
|
@ -217,12 +217,8 @@
|
||||||
Background="{DynamicResource Brush.Window}"
|
Background="{DynamicResource Brush.Window}"
|
||||||
BorderBrush="{DynamicResource Brush.Border0}"/>
|
BorderBrush="{DynamicResource Brush.Border0}"/>
|
||||||
|
|
||||||
<Border Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="3">
|
<Grid Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="3">
|
||||||
<ContentControl>
|
<Grid IsVisible="{Binding DetailContext, Converter={x:Static ObjectConverters.IsNull}}">
|
||||||
<ContentControl.Content>
|
|
||||||
<Binding Path="DetailContext">
|
|
||||||
<Binding.TargetNullValue>
|
|
||||||
<Grid>
|
|
||||||
<Path Width="128" Height="128"
|
<Path Width="128" Height="128"
|
||||||
Data="{StaticResource Icons.Detail}"
|
Data="{StaticResource Icons.Detail}"
|
||||||
HorizontalAlignment="Center"
|
HorizontalAlignment="Center"
|
||||||
|
@ -235,10 +231,8 @@
|
||||||
<TextBlock Text="{DynamicResource Text.Histories.Tips.MacOS}" Foreground="{DynamicResource Brush.FG2}" IsVisible="{OnPlatform False, macOS=True}"/>
|
<TextBlock Text="{DynamicResource Text.Histories.Tips.MacOS}" Foreground="{DynamicResource Brush.FG2}" IsVisible="{OnPlatform False, macOS=True}"/>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</Grid>
|
</Grid>
|
||||||
</Binding.TargetNullValue>
|
|
||||||
</Binding>
|
|
||||||
</ContentControl.Content>
|
|
||||||
|
|
||||||
|
<ContentControl Content="{Binding DetailContext}">
|
||||||
<ContentControl.DataTemplates>
|
<ContentControl.DataTemplates>
|
||||||
<DataTemplate DataType="vm:CommitDetail">
|
<DataTemplate DataType="vm:CommitDetail">
|
||||||
<v:CommitDetail/>
|
<v:CommitDetail/>
|
||||||
|
@ -264,6 +258,6 @@
|
||||||
</DataTemplate>
|
</DataTemplate>
|
||||||
</ContentControl.DataTemplates>
|
</ContentControl.DataTemplates>
|
||||||
</ContentControl>
|
</ContentControl>
|
||||||
</Border>
|
</Grid>
|
||||||
</v:LayoutableGrid>
|
</v:LayoutableGrid>
|
||||||
</UserControl>
|
</UserControl>
|
||||||
|
|
Loading…
Reference in a new issue