Add null check for OnCollectionChanged

This commit is contained in:
弘韬 张 2021-01-21 18:35:24 +08:00
parent e0c345ae13
commit 8311b39ddc

View file

@ -249,7 +249,7 @@ namespace Flow.Launcher.ViewModel
protected void OnCollectionChanged(NotifyCollectionChangedEventArgs e)
{
CollectionChanged(this, e);
CollectionChanged?.Invoke(this, e);
}
public void BulkAddAll(List<ResultViewModel> resultViews)