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

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

No files matched your search

+2 -1
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),
-1
View File
@@ -148,7 +148,6 @@ class MealItemForm extends StatelessWidget {
IngredientTypeahead(
_ingredientIdController,
_ingredientController,
showScanner: true,
barcode: _barcode,
test: _test,
),