chore: move HasPtcCacheFiles & HasShaderCacheFiles into ApplicationData, instead of having the weird static dependency helpers

This commit is contained in:
GreemDev
2025-10-14 16:09:51 -05:00
parent 47559cd311
commit a62716002e
3 changed files with 32 additions and 32 deletions

View File

@@ -120,13 +120,13 @@
CommandParameter="{Binding}"
Header="{ext:Locale GameListContextMenuCacheManagementNukePptc}"
Icon="{ext:Icon fa-solid fa-trash-can}"
IsEnabled="{Binding HasPtcCacheFiles}" />
IsEnabled="{Binding SelectedApplication.HasPtcCacheFiles, FallbackValue=False}" />
<MenuItem
Command="{Binding PurgeShaderCache}"
CommandParameter="{Binding}"
Header="{ext:Locale GameListContextMenuCacheManagementPurgeShaderCache}"
Icon="{ext:Icon fa-solid fa-trash-can}"
IsEnabled="{Binding HasShaderCacheFiles}" />
IsEnabled="{Binding SelectedApplication.HasShaderCacheFiles, FallbackValue=False}" />
<Separator/>
<MenuItem
Command="{Binding OpenPtcDirectory}"