mirror of
				https://github.com/ryujinx-mirror/ryujinx.git
				synced 2025-11-04 08:18:58 -06:00 
			
		
		
		
	Bump Avalonia.Svg (#6603)
* Bump Avalonia.Svg * Remove using * Bump Version * Remove other reload
This commit is contained in:
		@@ -9,7 +9,6 @@ using Ryujinx.Ava.UI.Windows;
 | 
			
		||||
using Ryujinx.Common;
 | 
			
		||||
using Ryujinx.HLE.HOS.Applets;
 | 
			
		||||
using Ryujinx.HLE.HOS.Services.Hid;
 | 
			
		||||
using System;
 | 
			
		||||
using System.Linq;
 | 
			
		||||
using System.Threading.Tasks;
 | 
			
		||||
 | 
			
		||||
@@ -104,9 +103,7 @@ namespace Ryujinx.Ava.UI.Applet
 | 
			
		||||
 | 
			
		||||
            if (!string.IsNullOrWhiteSpace(path))
 | 
			
		||||
            {
 | 
			
		||||
                SvgSource source = new(default(Uri));
 | 
			
		||||
 | 
			
		||||
                source.Load(EmbeddedResources.GetStream(path));
 | 
			
		||||
                SvgSource source = SvgSource.LoadFromStream(EmbeddedResources.GetStream(path));
 | 
			
		||||
 | 
			
		||||
                image.Source = source;
 | 
			
		||||
            }
 | 
			
		||||
 
 | 
			
		||||
@@ -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;
 | 
			
		||||
                }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user