mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-05-11 16:57:44 +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
14 lines
392 B
C#
14 lines
392 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 UserSelectorDialogViewModel : BaseModel
|
|
{
|
|
|
|
[ObservableProperty] private UserId _selectedUserId;
|
|
|
|
[ObservableProperty] private ObservableCollection<BaseModel> _profiles = [];
|
|
}
|
|
}
|