Fix ViewModel and UI (#10093)

* Fix avalonia ScrollToEnd

* Refactor ViewModel
This commit is contained in:
DHR60
2026-09-04 06:46:41 +00:00
committed by GitHub
parent fe2e219b7a
commit b8e8321603
20 changed files with 130 additions and 189 deletions
@@ -73,18 +73,16 @@ public class BulkObservableCollection<T> : ObservableCollection<T>
public void ReplaceRange(IEnumerable<T>? collection)
{
if (collection == null)
{
return;
}
_suppressNotification = true;
try
{
Items.Clear();
foreach (var item in collection)
if (collection != null)
{
Items.Add(item);
foreach (var item in collection)
{
Items.Add(item);
}
}
}
finally