From 7171033a49ad72a1b89eda78b2df6d4ef18fc56d Mon Sep 17 00:00:00 2001 From: delvh Date: Mon, 21 Sep 2020 20:49:59 +0200 Subject: [PATCH] Made not-hide_on_close the default option --- client/src/main/java/envoy/client/data/Settings.java | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/client/src/main/java/envoy/client/data/Settings.java b/client/src/main/java/envoy/client/data/Settings.java index 1191c7d..24505ff 100644 --- a/client/src/main/java/envoy/client/data/Settings.java +++ b/client/src/main/java/envoy/client/data/Settings.java @@ -1,9 +1,7 @@ package envoy.client.data; -import java.io.File; -import java.io.IOException; -import java.util.HashMap; -import java.util.Map; +import java.io.*; +import java.util.*; import java.util.prefs.Preferences; import envoy.util.SerializationUtils; @@ -75,7 +73,7 @@ public final class Settings { private void supplementDefaults() { items.putIfAbsent("enterToSend", new SettingsItem<>(true, "Enter to send", "Sends a message by pressing the enter key.")); - items.putIfAbsent("hideOnClose", new SettingsItem<>(true, "Hide on close", "Hides the chat window when it is closed.")); + items.putIfAbsent("hideOnClose", new SettingsItem<>(false, "Hide on close", "Hides the chat window when it is closed.")); items.putIfAbsent("currentTheme", new SettingsItem<>("dark", "Current Theme Name", "The name of the currently selected theme.")); items.putIfAbsent("downloadLocation", new SettingsItem<>(new File(System.getProperty("user.home") + "/Downloads/"), "Download location", -- 2.30.2