Skip to content

Commit 8e9c820

Browse files
committed
code_style: remove unnecessary braces
Signed-off-by: leo <[email protected]>
1 parent f2e8fa3 commit 8e9c820

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/Views/TextDiffView.axaml.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -837,13 +837,10 @@ private async Task CopyWithoutIndicatorsAsync()
837837
if (i == endIdx)
838838
{
839839
if (endPosition.Column - 1 < line.Content.Length)
840-
{
841840
builder.Append(line.Content.AsSpan(0, endPosition.Column - 1));
842-
}
843841
else
844-
{
845842
builder.Append(line.Content);
846-
}
843+
847844
break;
848845
}
849846

0 commit comments

Comments
 (0)