diff --git a/lib/screens/metering/components/shared/readings_container/components/film_picker/widget_picker_film.dart b/lib/screens/metering/components/shared/readings_container/components/film_picker/widget_picker_film.dart index fe136cc..08f3952 100644 --- a/lib/screens/metering/components/shared/readings_container/components/film_picker/widget_picker_film.dart +++ b/lib/screens/metering/components/shared/readings_container/components/film_picker/widget_picker_film.dart @@ -16,7 +16,7 @@ class FilmPicker extends StatelessWidget { icon: Icons.camera_roll, title: S.of(context).film, selectedValue: Films.selectedOf(context), - values: Films.of(context), + values: Films.inUseOf(context), itemTitleBuilder: (_, value) => Text(value.name.isEmpty ? S.of(context).none : value.name), onChanged: FilmsProvider.of(context).setFilm, closedChild: ReadingValueContainer.singleValue( diff --git a/lib/screens/settings/components/equipment/components/films/widget_list_tile_films.dart b/lib/screens/settings/components/equipment/components/films/widget_list_tile_films.dart index 82ce5c1..c343e2b 100644 --- a/lib/screens/settings/components/equipment/components/films/widget_list_tile_films.dart +++ b/lib/screens/settings/components/equipment/components/films/widget_list_tile_films.dart @@ -20,8 +20,8 @@ class FilmsListTile extends StatelessWidget { icon: const Icon(Icons.camera_roll), title: S.of(context).filmsInUse, description: S.of(context).filmsInUseDescription, - values: Film.values.sublist(1), - selectedValues: Films.of(context), + values: Films.of(context).sublist(1), + selectedValues: Films.inUseOf(context), titleAdapter: (_, value) => value.name, ), ).then((values) {