UI: Conditionally enable install/uninstall file types buttons based on whether they're installed already

This commit is contained in:
Evan Husted 2024-11-10 20:33:49 -06:00 committed by KeatonTheBot
parent 00a475bf7a
commit d77d6b7cee
3 changed files with 43 additions and 40 deletions

View file

@ -954,6 +954,11 @@ namespace Ryujinx.Ava.UI.ViewModels
{
get => FileAssociationHelper.IsTypeAssociationSupported;
}
public bool AreMimeTypesRegistered
{
get => FileAssociationHelper.AreMimeTypesRegistered;
}
public ObservableCollectionExtended<ApplicationData> Applications
{