mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-07-07 18:16:27 +02:00
UI: Add descriptions of what each dynamic RPC formatter actually shows when hovering whether it has support in the game info popup
This commit is contained in:
parent
aa2178dbe5
commit
0d7d0e8092
6 changed files with 71 additions and 18 deletions
|
@ -1,6 +1,7 @@
|
|||
using Gommon;
|
||||
using Ryujinx.Ava.Common.Locale;
|
||||
using Ryujinx.Ava.Utilities.AppLibrary;
|
||||
using Ryujinx.Ava.Utilities.PlayReport;
|
||||
|
||||
namespace Ryujinx.Ava.UI.ViewModels
|
||||
{
|
||||
|
@ -10,6 +11,11 @@ namespace Ryujinx.Ava.UI.ViewModels
|
|||
|
||||
public ApplicationDataViewModel(ApplicationData appData) => AppData = appData;
|
||||
|
||||
public string DynamicRichPresenceDescription =>
|
||||
AppData.HasDynamicRichPresenceSupport
|
||||
? AppData.RichPresenceSpec.Value.Description
|
||||
: GameSpec.DefaultDescription;
|
||||
|
||||
public string FormattedVersion => LocaleManager.Instance[LocaleKeys.GameListHeaderVersion].Format(AppData.Version);
|
||||
public string FormattedDeveloper => LocaleManager.Instance[LocaleKeys.GameListHeaderDeveloper].Format(AppData.Developer);
|
||||
public string FormattedFileExtension => LocaleManager.Instance[LocaleKeys.GameListHeaderFileExtension].Format(AppData.FileExtension);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue