Skip to content

Commit

Permalink
⏪️ Revert iOS orientation
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexV525 committed Oct 30, 2023
1 parent 00ba5e0 commit e7c8c5a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/src/states/camera_picker_state.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1604,9 +1604,6 @@ class CameraPickerState extends State<CameraPicker>
if (quarterTurns == null) {
return child!;
}
if (Platform.isIOS) {
quarterTurns = DeviceOrientation.values.length - quarterTurns;
}
if (value.deviceOrientation == DeviceOrientation.landscapeLeft) {
quarterTurns--;
} else if (value.deviceOrientation ==
Expand Down

0 comments on commit e7c8c5a

Please sign in to comment.