File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,6 @@ import 'providers/auth.dart';
53
53
import 'package:flutter/foundation.dart' ;
54
54
import 'package:flutter_zxing/flutter_zxing.dart' ;
55
55
56
-
57
56
void main () {
58
57
zx.setLogEnabled (kDebugMode);
59
58
// Needs to be called before runApp
Original file line number Diff line number Diff line change @@ -34,7 +34,6 @@ import 'package:wger/widgets/core/core.dart';
34
34
35
35
import 'package:flutter_zxing/flutter_zxing.dart' ;
36
36
37
-
38
37
class ScanReader extends StatelessWidget {
39
38
String ? scannedr;
40
39
@@ -47,7 +46,6 @@ class ScanReader extends StatelessWidget {
47
46
},
48
47
),
49
48
);
50
-
51
49
}
52
50
53
51
class IngredientTypeahead extends StatefulWidget {
@@ -215,9 +213,9 @@ class _IngredientTypeaheadState extends State<IngredientTypeahead> {
215
213
}
216
214
} catch (e) {
217
215
showErrorDialog (e, context);
218
- // Need to pop back since reader scan is a widget
216
+ // Need to pop back since reader scan is a widget
219
217
// otherwise returns null when back button is pressed
220
- return Navigator .pop (context);
218
+ return Navigator .pop (context);
221
219
}
222
220
},
223
221
icon: Image .asset ('assets/images/barcode_scanner_icon.png' ),
You can’t perform that action at this time.
0 commit comments