mirror of
https://github.com/wger-project/flutter.git
synced 2026-02-18 23:42:00 +01:00
remove test sleep
This commit is contained in:
@@ -484,9 +484,7 @@ void showIngredientDetails(BuildContext context, int id, {String? image}) {
|
||||
showDialog(
|
||||
context: context,
|
||||
builder: (context) => FutureBuilder<Ingredient>(
|
||||
future: Future.delayed(const Duration(seconds: 5), () {
|
||||
return Provider.of<NutritionPlansProvider>(context, listen: false).fetchIngredient(id);
|
||||
}),
|
||||
future: Provider.of<NutritionPlansProvider>(context, listen: false).fetchIngredient(id),
|
||||
builder: (BuildContext context, AsyncSnapshot<Ingredient> snapshot) {
|
||||
Ingredient? ingredient;
|
||||
NutritionalGoals? goals;
|
||||
|
||||
Reference in New Issue
Block a user