Massive improvements to notes/commenting
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user