mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2025-01-14 22:50:34 +00:00
Refresh library view after changing user
This commit is contained in:
parent
d6d2b202d1
commit
51d5a7b16f
1 changed files with 7 additions and 0 deletions
|
@ -1357,7 +1357,14 @@ namespace Ryujinx.Ava.UI.ViewModels
|
|||
|
||||
public async void ManageProfiles()
|
||||
{
|
||||
var prevUserId = AccountManager.LastOpenedUser.UserId;
|
||||
await NavigationDialogHost.Show(AccountManager, ContentManager, VirtualFileSystem, LibHacHorizonManager.RyujinxClient);
|
||||
|
||||
if (prevUserId != AccountManager.LastOpenedUser.UserId)
|
||||
{
|
||||
// current user changed, so refresh application metadata
|
||||
LoadApplications();
|
||||
}
|
||||
}
|
||||
|
||||
public void SimulateWakeUpMessage()
|
||||
|
|
Loading…
Reference in a new issue