diff --git a/lib/providers/films_provider.dart b/lib/providers/films_provider.dart index e569b21..38cf769 100644 --- a/lib/providers/films_provider.dart +++ b/lib/providers/films_provider.dart @@ -70,8 +70,9 @@ class FilmsProviderState extends State { /* Custom films **/ Future addCustomFilm(FilmExponential film) async { - await widget.filmsStorageService.addFilm(film); - customFilms[film.id] = (film: film, isUsed: false); + // ignore: avoid_redundant_argument_values + await widget.filmsStorageService.addFilm(film, isUsed: true); + customFilms[film.id] = (film: film, isUsed: true); setState(() {}); } diff --git a/pubspec.yaml b/pubspec.yaml index 1194b15..b82a4c6 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -30,7 +30,7 @@ dependencies: m3_lightmeter_iap: git: url: "https://github.com/vodemn/m3_lightmeter_iap" - ref: v1.0.1 + ref: v1.1.0 m3_lightmeter_resources: git: url: "https://github.com/vodemn/m3_lightmeter_resources"