Massive improvements to notes/commenting

This commit is contained in:
TheXamlGuy
2024-07-15 21:51:13 +01:00
parent d93fc66e59
commit b84e3abef6
3 changed files with 34 additions and 5 deletions
+12
View File
@@ -30,5 +30,17 @@ public partial class CommentEntryCollectionViewModel(IServiceProvider provider,
return Task.CompletedTask;
}
protected override void OnStateChanged()
{
if (State is ItemState.Write)
{
Add<CreateCommentEntryViewModel>();
}
else
{
RemoveAt(Count - 1);
}
}
}