Updated EnvoyLogger -> still not working

This commit is contained in:
delvh
2019-12-18 17:11:56 +01:00
parent 8267fa4d0d
commit 7e02217002
3 changed files with 33 additions and 53 deletions

View File

@ -245,11 +245,11 @@ public class ChatWindow extends JFrame {
/**
* Used to immediately reload the ChatWindow when settings were changed.
*
* @param themeName the name of the theme to change the colors into
* @since Envoy v0.1-alpha
*/
public void changeChatWindowColors(String key) {
Theme theme = Settings.getInstance().getThemes().get(key);
public void changeChatWindowColors(String themeName) {
Theme theme = Settings.getInstance().getThemes().get(themeName);
// contentPane
contentPane.setBackground(theme.getBackgroundColor());