Tidy
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
|
||||
namespace Wallet;
|
||||
|
||||
[Notification(typeof(NotifyEventArgs<Item<int>>), "Archive")]
|
||||
public partial class ArchiveNavigationViewModel(IServiceProvider provider,
|
||||
IServiceFactory factory,
|
||||
IMediator mediator,
|
||||
@@ -11,15 +10,4 @@ public partial class ArchiveNavigationViewModel(IServiceProvider provider,
|
||||
IDisposer disposer,
|
||||
int key,
|
||||
string value) : FilterNavigationViewModel(provider, factory, mediator, publisher, subscriber, disposer, key, value),
|
||||
INotificationHandler<NotifyEventArgs<Item<int>>>
|
||||
{
|
||||
public Task Handle(NotifyEventArgs<Item<int>> args)
|
||||
{
|
||||
if (args.Sender is Item<int> item)
|
||||
{
|
||||
Key = item.Value;
|
||||
}
|
||||
|
||||
return Task.CompletedTask;
|
||||
}
|
||||
}
|
||||
INotificationHandler<NotifyEventArgs<Item<int>>>;
|
||||
Reference in New Issue
Block a user