mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-09-28 19:30:06 +02:00
This introduces the somewhat completed version of the Player Select Applet, allowing users to select either a user or a guest from the UI. Note: Selecting the guest more then once currently does not work. closes https://github.com/Ryubing/Ryujinx/issues/532 - misc: chore: optimize UserSelectorDialog closed handler - misc: chore: Rename UserSelectorDialog to ProfileSelectorDialog Co-authored-by: GreemDev <greemdev@ryujinx.app>
15 lines
395 B
C#
15 lines
395 B
C#
using CommunityToolkit.Mvvm.ComponentModel;
|
|
using Ryujinx.HLE.HOS.Services.Account.Acc;
|
|
using System.Collections.ObjectModel;
|
|
|
|
namespace Ryujinx.Ava.UI.ViewModels
|
|
{
|
|
public partial class ProfileSelectorDialogViewModel : BaseModel
|
|
{
|
|
|
|
[ObservableProperty] private UserId _selectedUserId;
|
|
|
|
[ObservableProperty] private ObservableCollection<BaseModel> _profiles = [];
|
|
}
|
|
}
|