This commit is contained in:
Vadim 2023-03-16 13:45:37 +03:00
parent c2a9730012
commit bc2f211cf6
4 changed files with 17 additions and 20 deletions

2
.gitignore vendored
View file

@ -52,3 +52,5 @@ pubspec.lock
/ios/Podfile.lock /ios/Podfile.lock
.fvm/ .fvm/
.jks
keystore.properties

1
.vscode/launch.json vendored
View file

@ -21,6 +21,7 @@
"name": "dev (ios)", "name": "dev (ios)",
"request": "launch", "request": "launch",
"type": "dart", "type": "dart",
//"flutterMode": "release",
"args": [ "args": [
"--flavor", "--flavor",
"dev", "dev",

View file

@ -98,4 +98,5 @@ flutter {
dependencies { dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation "com.android.billingclient:billing-ktx:5.1.0"
} }

View file

@ -13,10 +13,7 @@ class EquipmentProfilesListTile extends StatelessWidget {
onTap: () { onTap: () {
showEquipmentProfilesDialog( showEquipmentProfilesDialog(
context, context,
EquipmentProfilesDialogLocalizationData( EquipmentProfileSectionLocalizationData(
title: S.of(context).equipmentProfiles,
addProfile: '',
equipmentProfileScreenLocalizationData: EquipmentProfileScreenLocalizationData(
isoValues: S.of(context).isoValues, isoValues: S.of(context).isoValues,
isoValuesFilterDescription: S.of(context).isoValuesFilterDescription, isoValuesFilterDescription: S.of(context).isoValuesFilterDescription,
ndValues: S.of(context).ndFilters, ndValues: S.of(context).ndFilters,
@ -24,16 +21,12 @@ class EquipmentProfilesListTile extends StatelessWidget {
apertureValues: S.of(context).apertureValues, apertureValues: S.of(context).apertureValues,
apertureValuesFilterDescription: S.of(context).apertureValuesFilterDescription, apertureValuesFilterDescription: S.of(context).apertureValuesFilterDescription,
shutterSpeedValues: S.of(context).shutterSpeedValues, shutterSpeedValues: S.of(context).shutterSpeedValues,
shutterSpeedValuesFilterDescription: shutterSpeedValuesFilterDescription: S.of(context).shutterSpeedValuesFilterDescription,
S.of(context).shutterSpeedValuesFilterDescription,
dialogFilterLocalizationData: DialogFilterLocalizationData( dialogFilterLocalizationData: DialogFilterLocalizationData(
cancel: S.of(context).cancel, cancel: S.of(context).cancel,
save: S.of(context).save, save: S.of(context).save,
), ),
), ),
cancel: S.of(context).cancel,
select: S.of(context).select,
),
); );
}, },
); );