Skip to content

Commit

Permalink
Some minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Onebeld committed Jul 10, 2023
1 parent 6342c00 commit 4694325
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions RegulSaveCleaner/Views/Pages/AboutPage.axaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
using Avalonia.Controls.Primitives;
using Avalonia.Interactivity;
using PleasantUI;
using SixLabors.ImageSharp.Formats;

namespace RegulSaveCleaner.Views.Pages;

Expand All @@ -24,8 +23,11 @@ protected override void OnApplyTemplate(TemplateAppliedEventArgs e)
Version pleasantUIVersion = typeof(PleasantTheme).Assembly.GetName().Version!;
PleasantUIVersion.Text = $"{pleasantUIVersion.Major}.{pleasantUIVersion.Minor}.{pleasantUIVersion.Build}";

Version imageSharpVersion = typeof(IImageEncoder).Assembly.GetName().Version!;
ImageSharpVersion.Text = $"{imageSharpVersion.Major}.{imageSharpVersion.Minor}.{imageSharpVersion.Build}";
#if NET6_0_OR_GREATER
ImageSharpVersion.Text = "3.0.1";
#else
ImageSharpVersion.Text = $"2.1.4";
#endif

RunDotNet.Text = $"{RuntimeInformation.FrameworkDescription} {RuntimeInformation.ProcessArchitecture}";
RunAuthor.Text = $"©2020-{DateTime.Now.Year} Dmitry Zhutkov (Onebeld)";
Expand Down

0 comments on commit 4694325

Please sign in to comment.