mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-09-15 06:25:13 +00:00
UI: Simplify LDN data logic
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user