From d9599c2f0ed22da5d56c7e8275b5908e4e6823c7 Mon Sep 17 00:00:00 2001 From: DieGurke Date: Sat, 29 Aug 2020 11:25:47 +0200 Subject: [PATCH] Applied some minor changes requested by @delvh and CyberSomething (I really cant remember how your name is spelled) Co-authored-by: CyB3RC0nN0R Co-authored-by: delvh --- .../src/main/java/envoy/client/ui/controller/ChatScene.java | 4 ++-- .../java/envoy/client/ui/controller/GroupCreationTab.java | 1 - client/src/main/resources/css/light.css | 6 +----- 3 files changed, 3 insertions(+), 8 deletions(-) diff --git a/client/src/main/java/envoy/client/ui/controller/ChatScene.java b/client/src/main/java/envoy/client/ui/controller/ChatScene.java index 96a2eeb..4a77fd6 100644 --- a/client/src/main/java/envoy/client/ui/controller/ChatScene.java +++ b/client/src/main/java/envoy/client/ui/controller/ChatScene.java @@ -183,8 +183,8 @@ public final class ChatScene implements Restorable { try { contactSearchTab.setContent(FXMLLoader.load(new File("src/main/resources/fxml/ContactSearchTab.fxml").toURI().toURL())); groupCreationTab.setContent(FXMLLoader.load(new File("src/main/resources/fxml/GroupCreationTab.fxml").toURI().toURL())); - } catch (Exception e2) { - logger.log(Level.SEVERE, "An error occured when attempting to load the tabs!", e2); + } catch (IOException e2) { + logger.log(Level.SEVERE, "An error occurred when attempting to load tabs: ", e2); } } else { contactSearchTab.setContent(createOfflineNote()); diff --git a/client/src/main/java/envoy/client/ui/controller/GroupCreationTab.java b/client/src/main/java/envoy/client/ui/controller/GroupCreationTab.java index 42442fc..9672063 100644 --- a/client/src/main/java/envoy/client/ui/controller/GroupCreationTab.java +++ b/client/src/main/java/envoy/client/ui/controller/GroupCreationTab.java @@ -66,7 +66,6 @@ public class GroupCreationTab { private HBox errorProceedBox; private LocalDB localDB; - private String name; private static final EventBus eventBus = EventBus.getInstance(); diff --git a/client/src/main/resources/css/light.css b/client/src/main/resources/css/light.css index 1648fe8..147bd2b 100644 --- a/client/src/main/resources/css/light.css +++ b/client/src/main/resources/css/light.css @@ -1,7 +1,3 @@ -* { - -fx-text-fill: black; -} - .root { -fx-background-color: #E6E6E6; } @@ -31,7 +27,7 @@ } .own-message { - -fx-background-color: #8fa88f; + -fx-background-color: #8FA88F; } .alert.information.dialog-pane, .alert.warning.dialog-pane, .alert.error.dialog-pane {