diff --git a/lib/helpers/ui.dart b/lib/helpers/ui.dart index 2de98a5d..82acdbf7 100644 --- a/lib/helpers/ui.dart +++ b/lib/helpers/ui.dart @@ -35,8 +35,9 @@ void showErrorDialog(dynamic exception, BuildContext context) { showDialog( context: context, builder: (ctx) => AlertDialog( + scrollable: true, title: Text(AppLocalizations.of(context).anErrorOccurred), - content: Text(exception.toString()), + content: SelectableText(exception.toString()), actions: [ TextButton( child: Text(MaterialLocalizations.of(context).closeButtonLabel), diff --git a/lib/widgets/nutrition/forms.dart b/lib/widgets/nutrition/forms.dart index c87202ac..6bf3fcb0 100644 --- a/lib/widgets/nutrition/forms.dart +++ b/lib/widgets/nutrition/forms.dart @@ -148,7 +148,6 @@ class MealItemForm extends StatelessWidget { IngredientTypeahead( _ingredientIdController, _ingredientController, - showScanner: true, barcode: _barcode, test: _test, ),