This commit is contained in:
TheXamlGuy
2024-06-05 19:18:17 +01:00
parent 83c2ba7449
commit 8995982607
30 changed files with 154 additions and 145 deletions
-4
View File
@@ -10,7 +10,6 @@ public partial class ItemNavigationViewModel(IServiceProvider provider,
ISubscription subscriber,
IDisposer disposer,
IContentTemplate template,
ICollectionSynchronization<ItemNavigationViewModel> synchronization,
NamedComponent named,
Guid id,
string name = "",
@@ -26,7 +25,6 @@ public partial class ItemNavigationViewModel(IServiceProvider provider,
INotificationHandler<UnfavouriteEventArgs<Item>>,
INotificationHandler<NotifyEventArgs<ItemHeader<string>>>,
ISelectable,
IIndexable,
IRemovable
{
[ObservableProperty]
@@ -53,8 +51,6 @@ public partial class ItemNavigationViewModel(IServiceProvider provider,
[ObservableProperty]
private bool selected = selected;
public int Index => synchronization.IndexOf(this);
public IContentTemplate Template { get; set; } = template;
public Task Handle(ArchiveEventArgs<Item> args) =>