Skip to content

Commit

Permalink
fix potential bug in switch case
Browse files Browse the repository at this point in the history
  • Loading branch information
navaronbracke committed Oct 23, 2024
1 parent 75bb9d4 commit 66a3b65
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -297,9 +297,9 @@ public class MobileScannerPlugin: NSObject, FlutterPlugin, FlutterStreamHandler,
case .portraitUpsideDown:
videoOrientation = .portraitUpsideDown
case .landscapeLeft:
videoOrientation = .landscapeRight
case .landscapeRight:
videoOrientation = .landscapeLeft
case .landscapeRight:
videoOrientation = .landscapeRight
default:
videoOrientation = .portrait
}
Expand Down

0 comments on commit 66a3b65

Please sign in to comment.