|
@@ -519,14 +519,14 @@ namespace Ryujinx.Ava.UI.Windows
|
|
|
private void ConfirmExit()
|
|
private void ConfirmExit()
|
|
|
{
|
|
{
|
|
|
Dispatcher.UIThread.InvokeAsync(async () =>
|
|
Dispatcher.UIThread.InvokeAsync(async () =>
|
|
|
- {
|
|
|
|
|
- ViewModel.IsClosing = await ContentDialogHelper.CreateExitDialog();
|
|
|
|
|
-
|
|
|
|
|
- if (ViewModel.IsClosing)
|
|
|
|
|
- {
|
|
|
|
|
- Close();
|
|
|
|
|
- }
|
|
|
|
|
- });
|
|
|
|
|
|
|
+ {
|
|
|
|
|
+ ViewModel.IsClosing = await ContentDialogHelper.CreateExitDialog();
|
|
|
|
|
+
|
|
|
|
|
+ if (ViewModel.IsClosing)
|
|
|
|
|
+ {
|
|
|
|
|
+ Close();
|
|
|
|
|
+ }
|
|
|
|
|
+ });
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
public async void LoadApplications()
|
|
public async void LoadApplications()
|