mirror of
https://github.com/vodemn/m3_lightmeter.git
synced 2024-11-22 15:30:59 +00:00
sync with iap changes
This commit is contained in:
parent
eeb70bfaff
commit
b1722160d5
2 changed files with 3 additions and 3 deletions
|
@ -16,7 +16,7 @@ class FilmPicker extends StatelessWidget {
|
||||||
icon: Icons.camera_roll,
|
icon: Icons.camera_roll,
|
||||||
title: S.of(context).film,
|
title: S.of(context).film,
|
||||||
selectedValue: Films.selectedOf(context),
|
selectedValue: Films.selectedOf(context),
|
||||||
values: Films.of(context),
|
values: Films.inUseOf(context),
|
||||||
itemTitleBuilder: (_, value) => Text(value.name.isEmpty ? S.of(context).none : value.name),
|
itemTitleBuilder: (_, value) => Text(value.name.isEmpty ? S.of(context).none : value.name),
|
||||||
onChanged: FilmsProvider.of(context).setFilm,
|
onChanged: FilmsProvider.of(context).setFilm,
|
||||||
closedChild: ReadingValueContainer.singleValue(
|
closedChild: ReadingValueContainer.singleValue(
|
||||||
|
|
|
@ -20,8 +20,8 @@ class FilmsListTile extends StatelessWidget {
|
||||||
icon: const Icon(Icons.camera_roll),
|
icon: const Icon(Icons.camera_roll),
|
||||||
title: S.of(context).filmsInUse,
|
title: S.of(context).filmsInUse,
|
||||||
description: S.of(context).filmsInUseDescription,
|
description: S.of(context).filmsInUseDescription,
|
||||||
values: Film.values.sublist(1),
|
values: Films.of(context).sublist(1),
|
||||||
selectedValues: Films.of(context),
|
selectedValues: Films.inUseOf(context),
|
||||||
titleAdapter: (_, value) => value.name,
|
titleAdapter: (_, value) => value.name,
|
||||||
),
|
),
|
||||||
).then((values) {
|
).then((values) {
|
||||||
|
|
Loading…
Reference in a new issue