Ingredient Popup Dialog
fun IngredientPopupDialog(navController: NavController, ingredients: SnapshotStateList<Ingredient>, ingredient: Ingredient, onDismiss: () -> Unit)
popup dialog use for Fridge and is used to display the item that has been double clicked
Parameters
nav Controller
to navigate to the recipes
ingredients
to remove the current one if the user no longer wants/has it
ingredient
the double tapped ingredient to be displayed
on Dismiss
what to do if the user taps off the popup display