added a star for favouriting a recipe and also unfavouriting it

This commit is contained in:
Aysegul Aydinlik 2025-12-18 19:38:26 +01:00
commit 7a58153cd6
3 changed files with 59 additions and 5 deletions

View file

@ -113,6 +113,7 @@
<Button fx:id="editRecipeTitleButton" onAction="#editRecipeTitle" text="Edit" />
<Button fx:id="removeRecipeButton2" mnemonicParsing="false" onAction="#removeSelectedRecipe" text="Remove Recipe" />
<Button fx:id="printRecipeButton" mnemonicParsing="false" onAction="#makePrintable" text="Print Recipe" />
<Button fx:id="favouriteButton" onAction="#toggleFavourite" text="☆" />
</HBox>
<!-- Ingredients -->