private void UpdateViewModelImpl() { Commits.ForEach(commit => commit.WindowWidth = Width); CommitDetailsViewModel.NotifyAll(); NotifyAll(); VirtualItemsSource.DataChanged(width); UpdateStatusIndicators(); }
private async void FilterTrigger(object sender, EventArgs e) { filterTriggerTimer.Stop(); string filterText = settingFilterText; FilterText = filterText; Log.Debug($"Filter triggered for: {FilterText}"); CommitPosition commitPosition = TryGetSelectedCommitPosition(); using (progress.ShowBusy()) { await viewModelService.SetFilterAsync(this, filterText); } TrySetSelectedCommitPosition(commitPosition, true); CommitDetailsViewModel.NotifyAll(); VirtualItemsSource.DataChanged(width); }