mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-07-10 13:26:27 +02:00
misc: chore: Remove MiniCommand
This commit is contained in:
parent
ffdc419417
commit
c410474d83
3 changed files with 5 additions and 77 deletions
|
@ -73,7 +73,7 @@ namespace Ryujinx.Ava.UI.Views.Main
|
|||
{
|
||||
Content = $".{it.FileName}",
|
||||
IsChecked = it.FileType.GetConfigValue(ConfigurationState.Instance.UI.ShownFileTypes),
|
||||
Command = MiniCommand.Create(() => Window.ToggleFileType(it.FileName))
|
||||
Command = Commands.Create(() => Window.ToggleFileType(it.FileName))
|
||||
}
|
||||
);
|
||||
|
||||
|
@ -108,7 +108,7 @@ namespace Ryujinx.Ava.UI.Views.Main
|
|||
Margin = new Thickness(3, 0, 3, 0),
|
||||
HorizontalAlignment = HorizontalAlignment.Stretch,
|
||||
Header = languageName,
|
||||
Command = MiniCommand.Create(() => MainWindowViewModel.ChangeLanguage(language))
|
||||
Command = Commands.Create(() => MainWindowViewModel.ChangeLanguage(language))
|
||||
};
|
||||
|
||||
yield return menuItem;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue