diff --git a/lib/providers/films_provider.dart b/lib/providers/films_provider.dart index 2291405..3ec55ad 100644 --- a/lib/providers/films_provider.dart +++ b/lib/providers/films_provider.dart @@ -172,7 +172,7 @@ class Films extends InheritedModel<_FilmsModelAspect> { return (dependencies.contains(_FilmsModelAspect.selected) && oldWidget.selected != selected) || (dependencies.contains(_FilmsModelAspect.predefinedFilms) && const DeepCollectionEquality().equals(oldWidget.predefinedFilms, predefinedFilms)) || - (dependencies.contains(_FilmsModelAspect.predefinedFilms) && - const DeepCollectionEquality().equals(oldWidget.predefinedFilms, predefinedFilms)); + (dependencies.contains(_FilmsModelAspect.customFilms) && + const DeepCollectionEquality().equals(oldWidget.customFilms, customFilms)); } }