mirror of
https://github.com/wger-project/flutter.git
synced 2026-02-18 00:17:48 +01:00
@@ -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),
|
||||
|
||||
@@ -148,7 +148,6 @@ class MealItemForm extends StatelessWidget {
|
||||
IngredientTypeahead(
|
||||
_ingredientIdController,
|
||||
_ingredientController,
|
||||
showScanner: true,
|
||||
barcode: _barcode,
|
||||
test: _test,
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user