mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Fix writable images not being recognized.
This commit is contained in:
@@ -64,13 +64,13 @@ public class PluginRegister
|
||||
}
|
||||
|
||||
/// <summary>List of writable media image plugins</summary>
|
||||
public SortedDictionary<string, IBaseWritableImage> WritableImages
|
||||
public SortedDictionary<string, IWritableImage> WritableImages
|
||||
{
|
||||
get
|
||||
{
|
||||
SortedDictionary<string, IBaseWritableImage> mediaImages = new();
|
||||
SortedDictionary<string, IWritableImage> mediaImages = new();
|
||||
|
||||
foreach(IBaseWritableImage plugin in _serviceProvider.GetServices<IBaseWritableImage>())
|
||||
foreach(IWritableImage plugin in _serviceProvider.GetServices<IWritableImage>())
|
||||
mediaImages[plugin.Name.ToLower()] = plugin;
|
||||
|
||||
return mediaImages;
|
||||
|
||||
Reference in New Issue
Block a user