Cleanup casts

This commit is contained in:
Isaac Marovitz 2024-07-16 12:22:00 +01:00
parent 486a352de2
commit 5ad5679145
No known key found for this signature in database
GPG key ID: 97250B2B09A132E1
2 changed files with 2 additions and 2 deletions

View file

@ -35,7 +35,7 @@ namespace Ryujinx.Ava.UI.Views.Input
LocaleManager.Instance[LocaleKeys.InputDialogYes], LocaleManager.Instance[LocaleKeys.InputDialogYes],
LocaleManager.Instance[LocaleKeys.InputDialogNo], LocaleManager.Instance[LocaleKeys.InputDialogNo],
LocaleManager.Instance[LocaleKeys.RyujinxConfirm], LocaleManager.Instance[LocaleKeys.RyujinxConfirm],
parent: (Window)this.VisualRoot); parent: (Window)VisualRoot);
if (result == UserResult.Yes) if (result == UserResult.Yes)
{ {

View file

@ -30,7 +30,7 @@ namespace Ryujinx.Ava.UI.Views.Settings
"", "",
LocaleManager.Instance[LocaleKeys.InputDialogOk], LocaleManager.Instance[LocaleKeys.InputDialogOk],
LocaleManager.Instance[LocaleKeys.DialogSettingsBackendThreadingWarningTitle], LocaleManager.Instance[LocaleKeys.DialogSettingsBackendThreadingWarningTitle],
parent: this.VisualRoot as Window) parent: (Window)VisualRoot)
); );
} }
} }