Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
mobile_scanner
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Navaron Bracke
2023-10-25 09:13:26 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
be133262e4da0b540c620e8bf1e28b88291205b3
be133262
1 parent
da349705
fix wrong error type
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
ios/Classes/MobileScanner.swift
ios/Classes/MobileScanner.swift
View file @
be13326
...
...
@@ -305,7 +305,7 @@ public class MobileScanner: NSObject, AVCaptureVideoDataOutputSampleBufferDelega
/// Set the zoom factor of the camera
func
setScale
(
_
scale
:
CGFloat
)
throws
{
if
(
device
==
nil
)
{
throw
MobileScannerError
.
torch
WhenStopped
throw
MobileScannerError
.
zoom
WhenStopped
}
do
{
...
...
Please
register
or
login
to post a comment