Remove unnecessary invalidate

pull/820/head
Alex Baker 6 years ago
parent f34cdcaa68
commit 39b049278a

@ -61,7 +61,6 @@ public class TaskListViewModel extends ViewModel {
LifecycleOwner owner, @NonNull Filter filter, Observer<List<TaskContainer>> observer) {
if (!filter.equals(this.filter) || !filter.getSqlQuery().equals(this.filter.getSqlQuery())) {
this.filter = filter;
invalidate();
}
tasks.observe(owner, observer);
}

Loading…
Cancel
Save