From ae2216ae3aa9e49cd200ad560d331b9237e9b09d Mon Sep 17 00:00:00 2001 From: Vadim <44135514+vodemn@users.noreply.github.com> Date: Sun, 3 Nov 2024 17:52:53 +0100 Subject: [PATCH] typo --- lib/providers/films_provider.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)); } }