This commit is contained in:
Vadim 2023-08-15 19:45:11 +02:00
parent e391056e29
commit da95cb27cc
3 changed files with 3 additions and 2 deletions

View file

@ -135,7 +135,7 @@ class CameraContainer extends StatelessWidget {
} }
double _cameraPreviewHeight(BuildContext context) { double _cameraPreviewHeight(BuildContext context) {
return ((MediaQuery.of(context).size.width - Dimens.grid8 - 2 * Dimens.paddingM) / 2) / return ((MediaQuery.sizeOf(context).width - Dimens.grid8 - 2 * Dimens.paddingM) / 2) /
PlatformConfig.cameraPreviewAspectRatio; PlatformConfig.cameraPreviewAspectRatio;
} }
} }

View file

@ -39,7 +39,7 @@ class ReadingsContainer extends StatelessWidget {
children: [ children: [
if (UserPreferencesProvider.meteringScreenFeatureOf( if (UserPreferencesProvider.meteringScreenFeatureOf(
context, context,
MeteringScreenLayoutFeature.extremeExposurePairs, MeteringScreenLayoutFeature.equipmentProfiles,
)) ...[ )) ...[
const _EquipmentProfilePicker(), const _EquipmentProfilePicker(),
const _InnerPadding(), const _InnerPadding(),

View file

@ -36,6 +36,7 @@ class _MeteringScreenLayoutFeaturesDialogState extends State<MeteringScreenLayou
_featureListTile(MeteringScreenLayoutFeature.equipmentProfiles), _featureListTile(MeteringScreenLayoutFeature.equipmentProfiles),
_featureListTile(MeteringScreenLayoutFeature.extremeExposurePairs), _featureListTile(MeteringScreenLayoutFeature.extremeExposurePairs),
_featureListTile(MeteringScreenLayoutFeature.filmPicker), _featureListTile(MeteringScreenLayoutFeature.filmPicker),
_featureListTile(MeteringScreenLayoutFeature.histogram),
], ],
), ),
), ),