code_style: remove Rider warning

Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
leo 2024-11-24 20:28:12 +08:00
parent f820c0ccac
commit 637f138d63
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -199,7 +199,7 @@
<!-- Messages --> <!-- Messages -->
<TextBlock Grid.Row="4" Grid.Column="0" Classes="info_label" VerticalAlignment="Top" Margin="0,4,0,0" Text="{DynamicResource Text.CommitDetail.Info.Message}" /> <TextBlock Grid.Row="4" Grid.Column="0" Classes="info_label" VerticalAlignment="Top" Margin="0,4,0,0" Text="{DynamicResource Text.CommitDetail.Info.Message}" />
<v:CommitMessagePresenter Grid.Row="5" Grid.Column="1" <v:CommitMessagePresenter Grid.Row="4" Grid.Column="1"
Margin="12,5,8,0" Margin="12,5,8,0"
Classes="primary" Classes="primary"
Message="{Binding #ThisControl.Message}" Message="{Binding #ThisControl.Message}"

View file

@ -99,7 +99,7 @@ namespace SourceGit.Views
menu.Items.Add(item); menu.Items.Add(item);
} }
menu?.Open(control); menu.Open(control);
} }
else if (links.Count == 1) else if (links.Count == 1)
{ {