mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-12-17 22:36:58 +00:00
misc: chore: optimize UserSelectorDialog closed handler
This commit is contained in:
parent
e8e1dc6619
commit
06d34a5992
2 changed files with 11 additions and 15 deletions
|
|
@ -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();
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue