Fix async

This commit is contained in:
Théo Arrouye 2023-06-05 22:54:44 -07:00
parent 2b500e794a
commit f7560a7a55

View file

@ -1363,7 +1363,7 @@ namespace Ryujinx.Ava.UI.ViewModels
if (prevUserId != AccountManager.LastOpenedUser.UserId) if (prevUserId != AccountManager.LastOpenedUser.UserId)
{ {
// current user changed, so refresh application metadata // current user changed, so refresh application metadata
_ = Task.Run(() => RefreshApplicationsMetadata()); _ = Task.Run(RefreshApplicationsMetadata);
} }
} }
@ -1372,7 +1372,7 @@ namespace Ryujinx.Ava.UI.ViewModels
AppHost.Device.System.SimulateWakeUpMessage(); AppHost.Device.System.SimulateWakeUpMessage();
} }
private async void RefreshApplicationsMetadata() private void RefreshApplicationsMetadata()
{ {
foreach (var app in _applications) foreach (var app in _applications)
{ {