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
Julian Steenbakker
2022-12-08 10:56:43 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
2d01818ca511702184ab3941e4db42436c0ba558
2d01818c
1 parent
f7ed6e39
imp: remove catchError which does not do anything
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
lib/src/mobile_scanner.dart
lib/src/mobile_scanner.dart
View file @
2d01818
...
...
@@ -61,9 +61,6 @@ class _MobileScannerState extends State<MobileScanner>
void
_startScanner
(
MobileScannerController
scanner
)
{
scanner
.
start
().
then
((
arguments
)
{
widget
.
onScannerStarted
?.
call
(
arguments
);
}).
catchError
((
error
)
{
// The scanner somehow failed to start.
// There is no way to recover from this, so do nothing.
});
}
...
...
Please
register
or
login
to post a comment