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 **/ /* Custom films **/
Future<void> addCustomFilm(FilmExponential film) async { Future<void> addCustomFilm(FilmExponential film) async {
await widget.filmsStorageService.addFilm(film); // ignore: avoid_redundant_argument_values
customFilms[film.id] = (film: film, isUsed: false); await widget.filmsStorageService.addFilm(film, isUsed: true);
customFilms[film.id] = (film: film, isUsed: true);
setState(() {}); setState(() {});
} }

View file

@ -30,7 +30,7 @@ dependencies:
m3_lightmeter_iap: m3_lightmeter_iap:
git: git:
url: "https://github.com/vodemn/m3_lightmeter_iap" url: "https://github.com/vodemn/m3_lightmeter_iap"
ref: v1.0.1 ref: v1.1.0
m3_lightmeter_resources: m3_lightmeter_resources:
git: git:
url: "https://github.com/vodemn/m3_lightmeter_resources" url: "https://github.com/vodemn/m3_lightmeter_resources"