Skip to content

Commit

Permalink
in-app version display fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
nor0x committed Oct 19, 2023
1 parent 09588f1 commit 44ed37c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/AboutWindow.axaml.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
using System.Reflection;
using Avalonia;
using Avalonia.Animation;
using Avalonia.Animation.Easings;
Expand All @@ -19,13 +20,15 @@ public partial class AboutWindow : Window
public AboutWindow()
{
InitializeComponent();
var version = Assembly.GetEntryAssembly().GetName().Version;
VersionRun.Text = version.ToString(3);
}

private void OpenSourceButton_Clicked(object? sender, Avalonia.Input.TappedEventArgs e)
{
Constants.GithubUrl.OpenUrl();
}
}

private void SupportButton_Clicked(object? sender, Avalonia.Input.TappedEventArgs e)
{
Constants.SupportURl.OpenUrl();
Expand Down

0 comments on commit 44ed37c

Please sign in to comment.