Skip to content

Commit

Permalink
fix toggleFlash
Browse files Browse the repository at this point in the history
  • Loading branch information
Facundo Medica committed Jul 17, 2021
1 parent 5b2023d commit 0d268a7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/fast_qr_reader_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,6 @@ class QRReaderController extends ValueNotifier<QRReaderValue> {
/// Toggle flashlight
Future<Null> toggleFlash() async {
try {
value = value.copyWith(isScanning: false);
await _channel.invokeMethod(
'toggleFlash',
<String, dynamic>{'textureId': _textureId},
Expand Down

0 comments on commit 0d268a7

Please sign in to comment.