mirror of
https://github.com/vodemn/m3_lightmeter.git
synced 2025-03-12 05:10:41 +00:00
copy
This commit is contained in:
parent
d479d62ec1
commit
3e8e9d9426
2 changed files with 5 additions and 3 deletions
|
@ -56,6 +56,8 @@
|
|||
"equipmentProfile": "Equipment profile",
|
||||
"equipmentProfiles": "Equipment profiles",
|
||||
"tapToAdd": "Tap to add",
|
||||
"filmsInUse": "Films in use",
|
||||
"filmsInUseDescription": "Deselect films that you are not using, so they will not appear in the film picker",
|
||||
"general": "General",
|
||||
"keepScreenOn": "Keep screen on",
|
||||
"haptics": "Haptics",
|
||||
|
|
|
@ -13,15 +13,15 @@ class FilmsListTile extends StatelessWidget {
|
|||
return IAPBuilder(
|
||||
builder: (context, status) => ListTile(
|
||||
leading: const Icon(Icons.camera_roll),
|
||||
title: Text('Films in use'),
|
||||
title: Text(S.of(context).filmsInUse),
|
||||
onTap: status == IAPProductStatus.purchased
|
||||
? () {
|
||||
showDialog<List<Film>>(
|
||||
context: context,
|
||||
builder: (_) => DialogFilter<Film>(
|
||||
icon: const Icon(Icons.camera_roll),
|
||||
title: "Films in use",
|
||||
description: "Deselect films that you are not using, so they will not appear in the film picker",
|
||||
title: S.of(context).filmsInUse,
|
||||
description: S.of(context).filmsInUseDescription,
|
||||
values: Film.values.sublist(1),
|
||||
selectedValues: Film.values.sublist(1),
|
||||
titleAdapter: (_, value) => value.name,
|
||||
|
|
Loading…
Reference in a new issue