Don’t use ContentDialogHelper when not necessary

This commit is contained in:
Isaac Marovitz 2024-03-13 16:55:32 +00:00
commit 817fbcffb4
No known key found for this signature in database
GPG key ID: 97250B2B09A132E1
2 changed files with 2 additions and 2 deletions

View file

@ -47,7 +47,7 @@ namespace Ryujinx.Ava.UI.Windows
contentDialog.Styles.Add(bottomBorder); contentDialog.Styles.Add(bottomBorder);
await ContentDialogHelper.ShowAsync(contentDialog); await contentDialog.ShowAsync();
} }
private void SaveAndClose(object sender, RoutedEventArgs routedEventArgs) private void SaveAndClose(object sender, RoutedEventArgs routedEventArgs)

View file

@ -47,7 +47,7 @@ namespace Ryujinx.Ava.UI.Windows
contentDialog.Styles.Add(bottomBorder); contentDialog.Styles.Add(bottomBorder);
await ContentDialogHelper.ShowAsync(contentDialog); await contentDialog.ShowAsync();
} }
private void Close(object sender, RoutedEventArgs e) private void Close(object sender, RoutedEventArgs e)