misc: chore: optimize UserSelectorDialog closed handler
This commit is contained in:
@@ -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();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user