misc: chore: optimize UserSelectorDialog closed handler

This commit is contained in:
Evan Husted
2025-02-11 20:36:11 -06:00
parent e8e1dc6619
commit 06d34a5992
2 changed files with 11 additions and 15 deletions

View File

@@ -283,8 +283,7 @@ namespace Ryujinx.Ava.UI.Applet
Profiles = profiles,
SelectedUserId = _parent.AccountManager.LastOpenedUser.UserId
};
UserSelectorDialog content = new(viewModel);
(selected, _) = await UserSelectorDialog.ShowInputDialog(content);
(selected, _) = await UserSelectorDialog.ShowInputDialog(viewModel);
dialogCloseEvent.Set();
});