Bump Avalonia.Svg (#6603)

* Bump Avalonia.Svg

* Remove using

* Bump Version

* Remove other reload
This commit is contained in:
Isaac Marovitz 2024-05-14 11:36:11 -04:00 committed by GitHub
parent cd78adf07f
commit 47639e6eeb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 4 additions and 9 deletions

View file

@ -181,9 +181,7 @@ namespace Ryujinx.Ava.UI.ViewModels.Input
if (!string.IsNullOrWhiteSpace(_controllerImage))
{
SvgSource source = new(default(Uri));
source.Load(EmbeddedResources.GetStream(_controllerImage));
SvgSource source = SvgSource.LoadFromStream(EmbeddedResources.GetStream(_controllerImage));
image.Source = source;
}