diff --git a/src/Ryujinx.Ava/UI/ViewModels/MainWindowViewModel.cs b/src/Ryujinx.Ava/UI/ViewModels/MainWindowViewModel.cs index 71dc12be3..4d34e1cf4 100644 --- a/src/Ryujinx.Ava/UI/ViewModels/MainWindowViewModel.cs +++ b/src/Ryujinx.Ava/UI/ViewModels/MainWindowViewModel.cs @@ -1358,6 +1358,7 @@ namespace Ryujinx.Ava.UI.ViewModels public async void ManageProfiles() { var oldLastOpenedUserId = AccountManager.LastOpenedUser.UserId; + await NavigationDialogHost.Show(AccountManager, ContentManager, VirtualFileSystem, LibHacHorizonManager.RyujinxClient); if (oldLastOpenedUserId != AccountManager.LastOpenedUser.UserId) diff --git a/src/Ryujinx.Ui.Common/App/ApplicationLibrary.cs b/src/Ryujinx.Ui.Common/App/ApplicationLibrary.cs index 1a47c39df..de777b96c 100644 --- a/src/Ryujinx.Ui.Common/App/ApplicationLibrary.cs +++ b/src/Ryujinx.Ui.Common/App/ApplicationLibrary.cs @@ -517,10 +517,10 @@ namespace Ryujinx.Ui.App.Common Directory.CreateDirectory(metadataFolder); // NOTE: Handle migration from old default to current user. Should be removed later. - string legacyFile = Path.Combine(guiFolder, "metadata.json"); - if (File.Exists(legacyFile) && !File.Exists(metadataFile)) + string oldMetadataFile = Path.Combine(guiFolder, "metadata.json"); + if (File.Exists(oldMetadataFile) && !File.Exists(metadataFile)) { - File.Move(legacyFile, metadataFile); + File.Move(oldMetadataFile, metadataFile); } // Create metadata file if it doesn't exist yet.