Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Enaium committed Jul 8, 2021
1 parent 7bb457f commit 7f856e7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class ChatList(private val chatListSetting: ChatListSetting) : Screen(LiteralTex

keyTextField = TextFieldWidget(mc.textRenderer, 5, height - 30, 20, 20, LiteralText(""))
chatTextField = TextFieldWidget(mc.textRenderer, 35, height - 30, 100, 20, LiteralText(""))

addDrawableChild(entryListWidget)
addDrawableChild(ButtonWidget(5, 5, 50, 20, LiteralText("Add")) {
if (keyTextField.text.isNotEmpty() && chatTextField.text.isNotEmpty()) {
val key = KeyboardUtil.getKey(keyTextField.text)
Expand Down

0 comments on commit 7f856e7

Please sign in to comment.