Merge pull request #583 from wger-project/tiny-tweaks

Tiny tweaks
This commit is contained in:
Dieter Plaetinck
2024-05-21 21:09:08 +02:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -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),

View File

@@ -148,7 +148,6 @@ class MealItemForm extends StatelessWidget {
IngredientTypeahead(
_ingredientIdController,
_ingredientController,
showScanner: true,
barcode: _barcode,
test: _test,
),