mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-07-23 10:57:12 +02:00
UI: Show what each value is in the Game Info dialog, add game icon
This commit is contained in:
parent
1972a47f39
commit
bd08a111a8
8 changed files with 155 additions and 112 deletions
|
@ -12,12 +12,9 @@ namespace Ryujinx.Ava.UI.Helpers
|
|||
|
||||
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
|
||||
{
|
||||
if (value is ApplicationData applicationData)
|
||||
if (value is ApplicationData { HasLdnGames: true } applicationData)
|
||||
{
|
||||
if (applicationData.PlayerCount != 0 && applicationData.GameCount != 0)
|
||||
{
|
||||
return $"Hosted Games: {applicationData.GameCount}\nOnline Players: {applicationData.PlayerCount}";
|
||||
}
|
||||
return $"Hosted Games: {applicationData.GameCount}\nOnline Players: {applicationData.PlayerCount}";
|
||||
}
|
||||
|
||||
return "";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue