mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2025-01-15 07:00:32 +00:00
Fix async
This commit is contained in:
parent
2b500e794a
commit
f7560a7a55
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue