mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-06-21 10:25:00 +00:00
code_style: general cleanup
This commit is contained in:
parent
ae46728bbc
commit
dc74ebb98a
48 changed files with 123 additions and 240 deletions
|
@ -118,7 +118,7 @@ namespace SourceGit.ViewModels
|
|||
|
||||
public ContextMenu CreateChangeContextMenu()
|
||||
{
|
||||
if (_selectedChanges == null || _selectedChanges.Count != 1)
|
||||
if (_selectedChanges is not { Count: 1 })
|
||||
return null;
|
||||
|
||||
var change = _selectedChanges[0];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue