Showing
1 changed file
with
1 additions
and
2 deletions
| @@ -125,7 +125,7 @@ class MobileScannerWeb extends MobileScannerPlatform { | @@ -125,7 +125,7 @@ class MobileScannerWeb extends MobileScannerPlatform { | ||
| 125 | 125 | ||
| 126 | return MobileScannerViewAttributes( | 126 | return MobileScannerViewAttributes( |
| 127 | hasTorch: hasTorch, | 127 | hasTorch: hasTorch, |
| 128 | - size: _barcodeReader.outputSize, | 128 | + size: _barcodeReader.videoSize, |
| 129 | ); | 129 | ); |
| 130 | } catch (error, stackTrace) { | 130 | } catch (error, stackTrace) { |
| 131 | throw MobileScannerException( | 131 | throw MobileScannerException( |
| @@ -167,7 +167,6 @@ class MobileScannerWeb extends MobileScannerPlatform { | @@ -167,7 +167,6 @@ class MobileScannerWeb extends MobileScannerPlatform { | ||
| 167 | } | 167 | } |
| 168 | 168 | ||
| 169 | await stop(); | 169 | await stop(); |
| 170 | - await _barcodeReader.dispose(); | ||
| 171 | await _barcodesController.close(); | 170 | await _barcodesController.close(); |
| 172 | } | 171 | } |
| 173 | } | 172 | } |
-
Please register or login to post a comment