Fix more edge cases

This commit is contained in:
TheXamlGuy
2024-05-31 22:50:52 +01:00
parent 718e4d0c0d
commit 07b8661f4a
18 changed files with 46 additions and 65 deletions
+2
View File
@@ -1,5 +1,6 @@
using CommunityToolkit.Mvvm.ComponentModel;
using Toolkit.Foundation;
using Toolkit.UI.Avalonia;
namespace Bitvault;
@@ -48,6 +49,7 @@ public partial class ItemNavigationViewModel(IServiceProvider provider,
private bool selected = selected;
public IContentTemplate Template { get; set; } = template;
public bool Attached { get; set; }
public Task Handle(ArchiveEventArgs<Item> args) =>
Task.Run(Dispose);