|
@@ -12,8 +12,8 @@ namespace Ryujinx.Ava.UI.Helpers
|
|
|
private static readonly Lazy<PlayabilityStatusConverter> _shared = new(() => new());
|
|
private static readonly Lazy<PlayabilityStatusConverter> _shared = new(() => new());
|
|
|
public static PlayabilityStatusConverter Shared => _shared.Value;
|
|
public static PlayabilityStatusConverter Shared => _shared.Value;
|
|
|
|
|
|
|
|
- public object Convert(object? value, Type _, object? __, CultureInfo ___) =>
|
|
|
|
|
- value.Cast<LocaleKeys>() switch
|
|
|
|
|
|
|
+ public object Convert(object value, Type _, object __, CultureInfo ___)
|
|
|
|
|
+ => value.Cast<LocaleKeys>() switch
|
|
|
{
|
|
{
|
|
|
LocaleKeys.CompatibilityListNothing or
|
|
LocaleKeys.CompatibilityListNothing or
|
|
|
LocaleKeys.CompatibilityListBoots or
|
|
LocaleKeys.CompatibilityListBoots or
|
|
@@ -22,7 +22,7 @@ namespace Ryujinx.Ava.UI.Helpers
|
|
|
_ => Brushes.ForestGreen
|
|
_ => Brushes.ForestGreen
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
- public object ConvertBack(object? value, Type _, object? __, CultureInfo ___)
|
|
|
|
|
|
|
+ public object ConvertBack(object value, Type _, object __, CultureInfo ___)
|
|
|
=> throw new NotSupportedException();
|
|
=> throw new NotSupportedException();
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|