From 9329890dca82ecd1d647f51423198d69c1d3253b Mon Sep 17 00:00:00 2001 From: Samantha Prestrelski Date: Tue, 5 Dec 2023 11:27:01 -0800 Subject: [PATCH] refactor: move images --- app/src/main/java/code/client/View/Ingredients.java | 2 +- .../main/java/code/client/View/{ => images}/cat.png | Bin .../code/client/View/{ => images}/defaultRecipe.png | Bin .../java/code/client/View/{ => images}/loading.png | Bin .../code/client/View/{ => images}/microphone.png | Bin 5 files changed, 1 insertion(+), 1 deletion(-) rename app/src/main/java/code/client/View/{ => images}/cat.png (100%) rename app/src/main/java/code/client/View/{ => images}/defaultRecipe.png (100%) rename app/src/main/java/code/client/View/{ => images}/loading.png (100%) rename app/src/main/java/code/client/View/{ => images}/microphone.png (100%) diff --git a/app/src/main/java/code/client/View/Ingredients.java b/app/src/main/java/code/client/View/Ingredients.java index bee5375..68df493 100644 --- a/app/src/main/java/code/client/View/Ingredients.java +++ b/app/src/main/java/code/client/View/Ingredients.java @@ -30,7 +30,7 @@ public class Ingredients extends GridPane { this.setHgap(20); // Get a picture of a microphone for the voice recording button - File file = new File("app/src/main/java/code/client/View/microphone.png"); + File file = new File(AppConfig.MICROPHONE_IMG_FILE); microphone = new ImageView(new Image(file.toURI().toString())); // Set the size of the microphone image diff --git a/app/src/main/java/code/client/View/cat.png b/app/src/main/java/code/client/View/images/cat.png similarity index 100% rename from app/src/main/java/code/client/View/cat.png rename to app/src/main/java/code/client/View/images/cat.png diff --git a/app/src/main/java/code/client/View/defaultRecipe.png b/app/src/main/java/code/client/View/images/defaultRecipe.png similarity index 100% rename from app/src/main/java/code/client/View/defaultRecipe.png rename to app/src/main/java/code/client/View/images/defaultRecipe.png diff --git a/app/src/main/java/code/client/View/loading.png b/app/src/main/java/code/client/View/images/loading.png similarity index 100% rename from app/src/main/java/code/client/View/loading.png rename to app/src/main/java/code/client/View/images/loading.png diff --git a/app/src/main/java/code/client/View/microphone.png b/app/src/main/java/code/client/View/images/microphone.png similarity index 100% rename from app/src/main/java/code/client/View/microphone.png rename to app/src/main/java/code/client/View/images/microphone.png