mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-12-14 04:36:59 +00:00
UI: Simplify LDN data logic
This commit is contained in:
parent
c69881a0a2
commit
d3bc3a1081
5 changed files with 45 additions and 14 deletions
|
|
@ -36,6 +36,8 @@ namespace Ryujinx.UI.App.Common
|
|||
public string Path { get; set; }
|
||||
public BlitStruct<ApplicationControlProperty> ControlHolder { get; set; }
|
||||
|
||||
public bool HasControlHolder => ControlHolder.ByteSpan.Length > 0;
|
||||
|
||||
public string TimePlayedString => ValueFormatUtils.FormatTimeSpan(TimePlayed);
|
||||
|
||||
public string LastPlayedString => ValueFormatUtils.FormatDateTime(LastPlayed)?.Replace(" ", "\n") ?? LocalizedNever();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue