From 4137bf393a1d1abacfa9f4dac758a0b146d6075c Mon Sep 17 00:00:00 2001 From: DieGurke Date: Sun, 30 Aug 2020 19:45:51 +0200 Subject: [PATCH] Fixed Typo --- client/src/main/java/envoy/client/ui/controller/ChatScene.java | 2 +- client/src/main/java/envoy/constant/Tabs.java | 2 +- 2 files changed, 2 insertions(+), 2 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 561e80b..c4e286b 100644 --- a/client/src/main/java/envoy/client/ui/controller/ChatScene.java +++ b/client/src/main/java/envoy/client/ui/controller/ChatScene.java @@ -197,7 +197,7 @@ public final class ChatScene implements Restorable { }); //Listen to backEvents - eventBus.register(BackEvent.class, e -> tabPane.getSelectionModel().select(Tabs.CONTANCT_LIST)); + eventBus.register(BackEvent.class, e -> tabPane.getSelectionModel().select(Tabs.CONTACT_LIST)); // Listen to received messages eventBus.register(MessageCreationEvent.class, e -> { diff --git a/client/src/main/java/envoy/constant/Tabs.java b/client/src/main/java/envoy/constant/Tabs.java index ebcbf3b..2a8b42d 100644 --- a/client/src/main/java/envoy/constant/Tabs.java +++ b/client/src/main/java/envoy/constant/Tabs.java @@ -11,7 +11,7 @@ package envoy.constant; public class Tabs { private Tabs() {} - public static int CONTANCT_LIST = 0; + public static int CONTACT_LIST = 0; public static int CONTACT_SEARCH = 1; public static int GROUP_CREATION = 2; }