File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ import 'package:flutter_typeahead/flutter_typeahead.dart';
25
25
import 'package:provider/provider.dart' ;
26
26
import 'package:wger/helpers/ui.dart' ;
27
27
import 'package:wger/providers/nutrition.dart' ;
28
+ import 'package:wger/widgets/core/core.dart' ;
28
29
29
30
class IngredientTypeahead extends StatefulWidget {
30
31
final TextEditingController _ingredientController;
@@ -78,7 +79,7 @@ class _IngredientTypeaheadState extends State<IngredientTypeahead> {
78
79
return ListTile (
79
80
leading: suggestion['data' ]['image' ] != null
80
81
? CircleAvatar (backgroundImage: NetworkImage (url! + suggestion['data' ]['image' ]))
81
- : const Icon (Icons .image),
82
+ : const CircleIconAvatar ( Icon (Icons .image, color : Colors .grey) ),
82
83
title: Text (suggestion['value' ]),
83
84
subtitle: Text (suggestion['data' ]['id' ].toString ()),
84
85
);
You can’t perform that action at this time.
0 commit comments