remove obsolete edittime variable

This commit is contained in:
Jeremy 2021-12-19 15:24:56 +11:00
parent 680f616365
commit fe6945bb61
2 changed files with 1 additions and 5 deletions

View file

@ -236,8 +236,6 @@ namespace Flow.Launcher.ViewModel
public class ResultCollection : List<ResultViewModel>, INotifyCollectionChanged public class ResultCollection : List<ResultViewModel>, INotifyCollectionChanged
{ {
private long editTime = 0;
private CancellationToken _token; private CancellationToken _token;
public event NotifyCollectionChangedEventHandler CollectionChanged; public event NotifyCollectionChangedEventHandler CollectionChanged;
@ -294,7 +292,6 @@ namespace Flow.Launcher.ViewModel
{ {
if (Count != 0) RemoveAll(newItems.Count); if (Count != 0) RemoveAll(newItems.Count);
AddAll(newItems); AddAll(newItems);
editTime++;
return; return;
} }
else else
@ -305,7 +302,6 @@ namespace Flow.Launcher.ViewModel
{ {
Capacity = newItems.Count; Capacity = newItems.Count;
} }
editTime++;
} }
} }
} }