mirror of
https://github.com/vodemn/m3_lightmeter.git
synced 2025-05-13 11:40:42 +00:00
cleanup
This commit is contained in:
parent
1a7f9165b9
commit
7410d7ed60
2 changed files with 0 additions and 4 deletions
|
@ -9,8 +9,6 @@ class CameraInfoService {
|
||||||
|
|
||||||
const CameraInfoService();
|
const CameraInfoService();
|
||||||
|
|
||||||
// TODO: fix focal length for iOS screenshots
|
|
||||||
// TODO: fix integration test (find 1.91x)
|
|
||||||
Future<int?> mainCameraEfl() async {
|
Future<int?> mainCameraEfl() async {
|
||||||
final focalLength = await cameraInfoPlatformChannel.invokeMethod<double?>('mainCameraEfl');
|
final focalLength = await cameraInfoPlatformChannel.invokeMethod<double?>('mainCameraEfl');
|
||||||
return focalLength?.round();
|
return focalLength?.round();
|
||||||
|
|
|
@ -75,6 +75,4 @@ class MeteringInteractor {
|
||||||
Future<bool> hasAmbientLightSensor() async => _lightSensorService.hasSensor();
|
Future<bool> hasAmbientLightSensor() async => _lightSensorService.hasSensor();
|
||||||
|
|
||||||
Stream<int> luxStream() => _lightSensorService.luxStream();
|
Stream<int> luxStream() => _lightSensorService.luxStream();
|
||||||
|
|
||||||
void setCameraFocalLength(int focalLength) => _userPreferencesService.cameraFocalLength = focalLength;
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue