UI: Visually merge "Actions" and "Tools" menu bar items into Actions

The contents of the menu item are dependent on whether you're in a game.
No functionality has been removed.
This commit is contained in:
Evan Husted
2025-01-20 16:56:05 -06:00
parent 8df7ba2d56
commit ed64a63094
6 changed files with 50 additions and 85 deletions

View File

@@ -3,14 +3,11 @@ using Avalonia.Controls;
using Avalonia.Markup.Xaml;
using Avalonia.Styling;
using FluentAvalonia.UI.Controls;
using LibHac.Tools.FsSystem.NcaUtils;
using Ryujinx.Ava.Common;
using Ryujinx.Ava.Common.Locale;
using Ryujinx.Ava.Common.Models;
using Ryujinx.Ava.UI.Helpers;
using Ryujinx.Ava.UI.ViewModels;
using Ryujinx.Ava.Utilities.AppLibrary;
using Ryujinx.Ava.Utilities.Compat;
using System.Threading.Tasks;
namespace Ryujinx.Ava.UI.Controls
@@ -22,9 +19,9 @@ namespace Ryujinx.Ava.UI.Controls
InitializeComponent();
}
#nullable enable
#nullable enable
public static async Task<DownloadableContentModel?> Show(ulong selectedTitleId, ApplicationLibrary appLibrary)
#nullable disable
#nullable disable
{
DlcSelectViewModel viewModel = new(selectedTitleId, appLibrary);
@@ -52,4 +49,3 @@ namespace Ryujinx.Ava.UI.Controls
}
}
}