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-31 13:27:34 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
1d1ac63f94060b8796dd0dfa875b63f606c83bb6
1d1ac63f
1 parent
bb37246a
format
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
lib/src/mobile_scanner_controller.dart
lib/src/mobile_scanner_controller.dart
View file @
1d1ac63
...
...
@@ -336,7 +336,8 @@ class MobileScannerController {
return
;
}
final
TorchState
newState
=
torchState
.
value
==
TorchState
.
off
?
TorchState
.
on
:
TorchState
.
off
;
final
TorchState
newState
=
torchState
.
value
==
TorchState
.
off
?
TorchState
.
on
:
TorchState
.
off
;
await
_methodChannel
.
invokeMethod
(
'torch'
,
newState
.
rawValue
);
}
...
...
Please
register
or
login
to post a comment