Skip to content

Commit 0ff58ad

Browse files
committed
🔥 Remove redundant getMinZoomLevel call
1 parent 36d3141 commit 0ff58ad

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

lib/src/states/camera_picker_state.dart

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -488,12 +488,6 @@ class CameraPickerState extends State<CameraPicker>
488488
camera: camera,
489489
fallback: minAvailableZoom,
490490
).then((value) => minAvailableZoom = value!),
491-
wrapControllerMethod(
492-
'getMinZoomLevel',
493-
() => newController.getMinZoomLevel(),
494-
camera: camera,
495-
fallback: minAvailableZoom,
496-
).then((value) => minAvailableZoom = value!),
497491
if (pickerConfig.lockCaptureOrientation != null)
498492
wrapControllerMethod<void>(
499493
'lockCaptureOrientation',

0 commit comments

Comments
 (0)