Skip to content
Snippets Groups Projects
Unverified Commit c12a59ec authored by Gab's avatar Gab Committed by GitHub
Browse files

Remove 'About Avalonia' and Replace it with 'About Ryujinx' in MacOS's menu bar (#752)

Video demonstration for non-Mac users:
https://www.youtube.com/watch?v=7Wn_k5AjBuU
parent 57c22a1f
No related branches found
Tags Canary-1.2.428
No related merge requests found
......@@ -17,4 +17,9 @@
<sty:FluentAvaloniaTheme PreferUserAccentColor="True" PreferSystemTheme="False" />
<StyleInclude Source="/Assets/Styles/Styles.xaml" />
</Application.Styles>
<NativeMenu.Menu>
<NativeMenu>
<NativeMenuItem Header="About Ryujinx" Click="AboutRyujinx_OnClick" />
</NativeMenu>
</NativeMenu.Menu>
</Application>
......@@ -147,5 +147,10 @@ namespace Ryujinx.Ava
Current is RyujinxApp { PlatformSettings: not null } app
? ConvertThemeVariant(app.PlatformSettings.GetColorValues().ThemeVariant)
: ThemeVariant.Default;
private async void AboutRyujinx_OnClick(object sender, EventArgs e)
{
await AboutWindow.Show();
}
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment