mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
General code style and feature fixes.
This commit is contained in:
@@ -123,7 +123,11 @@ public sealed class PluginsViewModel : ViewModelBase
|
||||
Author = writableFloppyImage.Author
|
||||
});
|
||||
|
||||
foreach(IWritableImage writableImage in GetPluginBase.Instance.WritableImages.Values)
|
||||
foreach(IBaseWritableImage baseWritableImage in GetPluginBase.Instance.WritableImages.Values)
|
||||
{
|
||||
if(baseWritableImage is not IWritableImage writableImage)
|
||||
continue;
|
||||
|
||||
WritableImages.Add(new PluginModel
|
||||
{
|
||||
Name = writableImage.Name,
|
||||
@@ -131,6 +135,7 @@ public sealed class PluginsViewModel : ViewModelBase
|
||||
Version = Assembly.GetAssembly(writableImage.GetType())?.GetName().Version?.ToString(),
|
||||
Author = writableImage.Author
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
[NotNull]
|
||||
|
||||
Reference in New Issue
Block a user