Add the player select applet. #537
@ -78,7 +78,7 @@ namespace Ryujinx.Ava.UI.Applet
|
|||||||
|
|||||||
_selectedUserId = userProfile.UserId;
|
_selectedUserId = userProfile.UserId;
|
||||||
Logger.Info?.Print(LogClass.UI, $"Selected user: {userProfile.UserId}");
|
Logger.Info?.Print(LogClass.UI, $"Selected user: {userProfile.UserId}");
|
||||||
|
|
||||||
var newProfiles = new ObservableCollection<BaseModel>();
|
ObservableCollection<BaseModel> newProfiles = [];
|
||||||
![]()
`sender is Grid { DataContext: UserProfile profile }`
![]() Identical to above Identical to above
![]() The value names in tuples should be PascalCase; The value names in tuples should be PascalCase; `Task<(UserId Id, bool Result)>`
![]()
`sender is Grid { DataContext: UserProfile profile }`
![]() Identical to above Identical to above
![]() The value names in tuples should be PascalCase; The value names in tuples should be PascalCase; `Task<(UserId Id, bool Result)>`
|
|||||||
|
|
||||||
foreach (var item in Profiles)
|
foreach (var item in Profiles)
|
||||||
{
|
{
|
||||||
@ -105,7 +105,7 @@ namespace Ryujinx.Ava.UI.Applet
|
|||||||
![]()
`sender is Grid { DataContext: UserProfile profile }`
![]()
`sender is Grid { DataContext: UserProfile profile }`
![]() Identical to above Identical to above
![]() Identical to above Identical to above
![]() The value names in tuples should be PascalCase; The value names in tuples should be PascalCase; `Task<(UserId Id, bool Result)>`
![]() The value names in tuples should be PascalCase; The value names in tuples should be PascalCase; `Task<(UserId Id, bool Result)>`
|
|||||||
{
|
{
|
||||||
content._selectedUserId = accountManagerLastOpenedUser.UserId;
|
content._selectedUserId = accountManagerLastOpenedUser.UserId;
|
||||||
|
|
||||||
var contentDialog = new ContentDialog
|
ContentDialog contentDialog = new()
|
||||||
![]()
`sender is Grid { DataContext: UserProfile profile }`
![]() Identical to above Identical to above
![]() The value names in tuples should be PascalCase; The value names in tuples should be PascalCase; `Task<(UserId Id, bool Result)>`
![]()
`sender is Grid { DataContext: UserProfile profile }`
![]() Identical to above Identical to above
![]() The value names in tuples should be PascalCase; The value names in tuples should be PascalCase; `Task<(UserId Id, bool Result)>`
|
|||||||
{
|
{
|
||||||
Title = LocaleManager.Instance[LocaleKeys.UserProfileWindowTitle],
|
Title = LocaleManager.Instance[LocaleKeys.UserProfileWindowTitle],
|
||||||
PrimaryButtonText = LocaleManager.Instance[LocaleKeys.Continue],
|
PrimaryButtonText = LocaleManager.Instance[LocaleKeys.Continue],
|
||||||
|
|||||||
![]()
`sender is Grid { DataContext: UserProfile profile }`
![]()
`sender is Grid { DataContext: UserProfile profile }`
![]() Identical to above Identical to above
![]() Identical to above Identical to above
![]() The value names in tuples should be PascalCase; The value names in tuples should be PascalCase; `Task<(UserId Id, bool Result)>`
![]() The value names in tuples should be PascalCase; The value names in tuples should be PascalCase; `Task<(UserId Id, bool Result)>`
|
sender is Grid { DataContext: UserProfile profile }
sender is Grid { DataContext: UserProfile profile }
Identical to above
Identical to above
The value names in tuples should be PascalCase;
Task<(UserId Id, bool Result)>
The value names in tuples should be PascalCase;
Task<(UserId Id, bool Result)>