mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-07-04 05:46:26 +02:00
misc: chore: Remove MiniCommand
This commit is contained in:
parent
ffdc419417
commit
c410474d83
3 changed files with 5 additions and 77 deletions
|
@ -40,19 +40,19 @@ namespace Ryujinx.Ava.UI.Helpers
|
|||
SecondaryButtonText = secondaryButton,
|
||||
CloseButtonText = closeButton,
|
||||
Content = content,
|
||||
PrimaryButtonCommand = MiniCommand.Create(() =>
|
||||
PrimaryButtonCommand = Commands.Create(() =>
|
||||
{
|
||||
result = primaryButtonResult;
|
||||
})
|
||||
};
|
||||
|
||||
contentDialog.SecondaryButtonCommand = MiniCommand.Create(() =>
|
||||
contentDialog.SecondaryButtonCommand = Commands.Create(() =>
|
||||
{
|
||||
result = UserResult.No;
|
||||
contentDialog.PrimaryButtonClick -= deferCloseAction;
|
||||
});
|
||||
|
||||
contentDialog.CloseButtonCommand = MiniCommand.Create(() =>
|
||||
contentDialog.CloseButtonCommand = Commands.Create(() =>
|
||||
{
|
||||
result = UserResult.Cancel;
|
||||
contentDialog.PrimaryButtonClick -= deferCloseAction;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue