Added ability to modify image of existing items

This commit is contained in:
TheXamlGuy
2024-07-03 19:23:15 +01:00
parent d36a66b2fe
commit a7785edb02
10 changed files with 114 additions and 55 deletions
+3 -1
View File
@@ -37,6 +37,7 @@ public partial class ItemViewModel :
NamedComponent named,
IDecoratorService<ItemHeaderConfiguration> itemHeaderConfigurationDecorator,
string name = "",
string category = "",
ImageDescriptor? imageDescriptor = null,
bool fromCategory = false,
bool favourite = false,
@@ -53,7 +54,8 @@ public partial class ItemViewModel :
ItemHeaderConfiguration configuration = new()
{
Name = name
Name = name,
Category = category,
};
itemHeaderConfigurationDecorator.Set(configuration);