misc: Simplify ControlHolder checks in MainWindowViewModel

This commit is contained in:
Evan Husted
2024-12-31 00:04:23 -06:00
parent 4135d74e4d
commit 0cd09ea0c5
2 changed files with 4 additions and 4 deletions

View File

@ -33,7 +33,7 @@ namespace Ryujinx.Ava.Utilities.AppLibrary
public string Path { get; set; }
public BlitStruct<ApplicationControlProperty> ControlHolder { get; set; }
public bool HasControlHolder => ControlHolder.ByteSpan.Length > 0;
public bool HasControlHolder => ControlHolder.ByteSpan.Length > 0 && !ControlHolder.ByteSpan.IsZeros();
public string TimePlayedString => ValueFormatUtils.FormatTimeSpan(TimePlayed);