Skip to content

Commit 25b2421

Browse files
committed
code_review: PR #1520
Signed-off-by: leo <[email protected]>
1 parent 92f3294 commit 25b2421

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

src/Views/About.axaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,12 @@
4545
<StackPanel Grid.Column="1" Orientation="Vertical" VerticalAlignment="Center">
4646
<StackPanel Height="40" Orientation="Horizontal">
4747
<TextBlock Classes="bold" Text="SourceGit" FontSize="32" />
48-
<Border Margin="12,0,0,0" Height="20" CornerRadius="10" Background="{DynamicResource Brush.Accent}" Effect="drop-shadow(0 0 6 #40000000)"
48+
<Border Margin="12,0,0,0" Height="20"
49+
CornerRadius="10"
50+
Background="{DynamicResource Brush.Accent}"
51+
Effect="drop-shadow(0 0 6 #40000000)"
4952
Cursor="Hand"
50-
PointerPressed="OnVisitGithubRelease">
53+
PointerPressed="OnVisitReleaseNotes">
5154
<TextBlock x:Name="TxtVersion" Classes="primary" Margin="8,0" FontSize="12" Foreground="White"/>
5255
</Border>
5356
</StackPanel>

src/Views/About.axaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public About()
2020
TxtCopyright.Text = copyright.Copyright;
2121
}
2222

23-
private void OnVisitGithubRelease(object _, RoutedEventArgs e)
23+
private void OnVisitReleaseNotes(object _, RoutedEventArgs e)
2424
{
2525
Native.OS.OpenBrowser($"https://github.com/sourcegit-scm/sourcegit/releases/tag/v{TxtVersion.Text}");
2626
e.Handled = true;

0 commit comments

Comments
 (0)