Skip to content

Commit 9b07034

Browse files
committed
code_review: PR #978
* Remove unnecessary parentheses since the name of relative path uses secondary foreground color already Signed-off-by: leo <[email protected]>
1 parent 588879e commit 9b07034

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Views/RemoveWorktree.axaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<Path Grid.Column="0" Width="12" Height="12" Data="{StaticResource Icons.Worktree}"/>
2020
<TextBlock Grid.Column="1" Classes="primary" Margin="8,0,0,0" TextTrimming="CharacterEllipsis">
2121
<Run Text="{Binding Target.Name}"/>
22-
(<Run Text="{Binding Target.RelativePath}" Foreground="{DynamicResource Brush.FG2}"/>)
22+
<Run Text="{Binding Target.RelativePath}" Foreground="{DynamicResource Brush.FG2}"/>
2323
</TextBlock>
2424
</Grid>
2525

src/Views/Repository.axaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@
373373
<Path Grid.Column="0" Width="10" Height="10" Margin="8,0,0,0" Data="{StaticResource Icons.Worktree}"/>
374374
<TextBlock Grid.Column="1" Classes="primary" Margin="8,0,0,0" TextTrimming="CharacterEllipsis">
375375
<Run Text="{Binding Name}"/>
376-
(<Run Text="{Binding RelativePath}" Foreground="{DynamicResource Brush.FG2}"/>)
376+
<Run Text="{Binding RelativePath}" Foreground="{DynamicResource Brush.FG2}"/>
377377
</TextBlock>
378378
<Path Grid.Column="2" Width="10" Height="10" Margin="4,0,0,0" Data="{StaticResource Icons.Lock}" Fill="{DynamicResource Brush.FG2}" IsVisible="{Binding IsLocked}"/>
379379
</Grid>

0 commit comments

Comments
 (0)