This commit is contained in:
TheXamlGuy
2024-07-17 21:43:58 +01:00
parent eae11dc260
commit 9daebc7ba2
124 changed files with 233 additions and 247 deletions
+2 -2
View File
@@ -18,7 +18,7 @@ public partial class ItemContentViewModel(IServiceProvider provider,
public Task Handle(NotifyEventArgs<ItemCategory<string>> args)
{
if (args.Sender is ItemCategory<string> category
if (args.Sender is ItemCategory<string> category
&& category.Value is string value)
{
Activate(() => new ActivationBuilder(new ActivationEventArgs<IItemEntryViewModel,
@@ -27,4 +27,4 @@ public partial class ItemContentViewModel(IServiceProvider provider,
return Task.CompletedTask;
}
}
}