Skip to content

Commit f58f61e

Browse files
author
Github-actions
committed
Automatic linting
1 parent 7857e17 commit f58f61e

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

lib/main.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ import 'providers/auth.dart';
5353
import 'package:flutter/foundation.dart';
5454
import 'package:flutter_zxing/flutter_zxing.dart';
5555

56-
5756
void main() {
5857
zx.setLogEnabled(kDebugMode);
5958
// Needs to be called before runApp

lib/widgets/nutrition/widgets.dart

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ import 'package:wger/widgets/core/core.dart';
3434

3535
import 'package:flutter_zxing/flutter_zxing.dart';
3636

37-
3837
class ScanReader extends StatelessWidget {
3938
String? scannedr;
4039

@@ -47,7 +46,6 @@ class ScanReader extends StatelessWidget {
4746
},
4847
),
4948
);
50-
5149
}
5250

5351
class IngredientTypeahead extends StatefulWidget {
@@ -215,9 +213,9 @@ class _IngredientTypeaheadState extends State<IngredientTypeahead> {
215213
}
216214
} catch (e) {
217215
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
219217
// otherwise returns null when back button is pressed
220-
return Navigator.pop(context);
218+
return Navigator.pop(context);
221219
}
222220
},
223221
icon: Image.asset('assets/images/barcode_scanner_icon.png'),

0 commit comments

Comments
 (0)