migrated to iap 1.1.0

This commit is contained in:
Vadim 2024-10-31 17:17:31 +01:00
parent 02d81caa7d
commit dff3eefc4b
2 changed files with 4 additions and 3 deletions

View file

@ -70,8 +70,9 @@ class FilmsProviderState extends State<FilmsProvider> {
/* Custom films **/
Future<void> 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(() {});
}

View file

@ -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"