Skip to content

Commit e7619a2

Browse files
committed
Append "macOS beta" to the version dialog on macOS
1 parent fda631d commit e7619a2

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/PicView.Avalonia/Views/AboutView.axaml.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
using System.Runtime.InteropServices;
12
using Avalonia;
23
using Avalonia.Controls;
34
using Avalonia.Media;
@@ -19,6 +20,10 @@ public AboutView()
1920
Loaded += (_, _) =>
2021
{
2122
AppVersion.Text = VersionHelper.GetCurrentVersion();
23+
if (RuntimeInformation.IsOSPlatform(OSPlatform.OSX))
24+
{
25+
AppVersion.Text +=" macOS beta";
26+
}
2227

2328
if (!Settings.Theme.Dark && !Settings.Theme.GlassTheme)
2429
{

0 commit comments

Comments
 (0)