ML-126 Automate screenshots creation (#128)

* generate screenshots with ep set to None
This commit is contained in:
Vadim 2023-09-29 12:45:39 +02:00 committed by GitHub
parent e0320b6704
commit 0b51db642c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -115,7 +115,7 @@ void main() {
IAPProviders( IAPProviders(
sharedPreferences: _MockSharedPreferences(), sharedPreferences: _MockSharedPreferences(),
child: EquipmentProfiles( child: EquipmentProfiles(
selected: _mockEquipmentProfiles[1], selected: _mockEquipmentProfiles[0],
values: _mockEquipmentProfiles, values: _mockEquipmentProfiles,
child: Films( child: Films(
selected: const Film('Ilford HP5+', 400), selected: const Film('Ilford HP5+', 400),
@ -264,12 +264,12 @@ final _mockEquipmentProfiles = [
name: 'Praktica + Zenitar', name: 'Praktica + Zenitar',
apertureValues: ApertureValue.values.sublist( apertureValues: ApertureValue.values.sublist(
ApertureValue.values.indexOf(const ApertureValue(1.7, StopType.half)), ApertureValue.values.indexOf(const ApertureValue(1.7, StopType.half)),
ApertureValue.values.indexOf(const ApertureValue(16, StopType.full)), ApertureValue.values.indexOf(const ApertureValue(16, StopType.full)) + 1,
), ),
ndValues: NdValue.values.sublist(0, 3), ndValues: NdValue.values.sublist(0, 3),
shutterSpeedValues: ShutterSpeedValue.values.sublist( shutterSpeedValues: ShutterSpeedValue.values.sublist(
ShutterSpeedValue.values.indexOf(const ShutterSpeedValue(1000, true, StopType.full)), ShutterSpeedValue.values.indexOf(const ShutterSpeedValue(1000, true, StopType.full)),
ShutterSpeedValue.values.indexOf(const ShutterSpeedValue(16, false, StopType.full)), ShutterSpeedValue.values.indexOf(const ShutterSpeedValue(16, false, StopType.full)) + 1,
), ),
isoValues: const [ isoValues: const [
IsoValue(50, StopType.full), IsoValue(50, StopType.full),