diff --git a/src/AboutWindow.axaml.cs b/src/AboutWindow.axaml.cs index cb41c2e..5193c08 100644 --- a/src/AboutWindow.axaml.cs +++ b/src/AboutWindow.axaml.cs @@ -1,3 +1,4 @@ +using System.Reflection; using Avalonia; using Avalonia.Animation; using Avalonia.Animation.Easings; @@ -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();