Skip to content

Commit 4694325

Browse files
committed
Some minor changes
1 parent 6342c00 commit 4694325

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

RegulSaveCleaner/Views/Pages/AboutPage.axaml.cs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
using Avalonia.Controls.Primitives;
77
using Avalonia.Interactivity;
88
using PleasantUI;
9-
using SixLabors.ImageSharp.Formats;
109

1110
namespace RegulSaveCleaner.Views.Pages;
1211

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

27-
Version imageSharpVersion = typeof(IImageEncoder).Assembly.GetName().Version!;
28-
ImageSharpVersion.Text = $"{imageSharpVersion.Major}.{imageSharpVersion.Minor}.{imageSharpVersion.Build}";
26+
#if NET6_0_OR_GREATER
27+
ImageSharpVersion.Text = "3.0.1";
28+
#else
29+
ImageSharpVersion.Text = $"2.1.4";
30+
#endif
2931

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

0 commit comments

Comments
 (0)