[GUI] Update image handling to use SvgImage for media logos

This commit is contained in:
2025-10-27 15:39:29 +00:00
parent d44b6d1909
commit f9aef60c66
5 changed files with 29 additions and 17 deletions

View File

@@ -33,7 +33,7 @@
using System.Collections.ObjectModel;
using Aaru.CommonTypes.Interfaces;
using Aaru.Gui.ViewModels.Panels;
using Avalonia.Media.Imaging;
using Avalonia.Media;
namespace Aaru.Gui.Models;
@@ -43,7 +43,7 @@ public sealed class ImageModel : RootModel
public string Path { get; set; }
public string FileName { get; set; }
public Bitmap Icon { get; set; }
public IImage Icon { get; set; }
public ObservableCollection<RootModel> PartitionSchemesOrFileSystems { get; }
public IMediaImage Image { get; set; }
public ImageInfoViewModel ViewModel { get; set; }