File tree Expand file tree Collapse file tree
RegulSaveCleaner/Views/Pages Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66using Avalonia . Controls . Primitives ;
77using Avalonia . Interactivity ;
88using PleasantUI ;
9- using SixLabors . ImageSharp . Formats ;
109
1110namespace 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)";
You can’t perform that action at this time.
0 commit comments