diff --git a/main.lua b/main.lua index 575a0ae..289c982 100644 --- a/main.lua +++ b/main.lua @@ -23,7 +23,7 @@ local lfs = require("libs/libkoreader-lfs") local IrcChatView = TextViewer:extend{ title = _("IRC Chat"), text = "", - add_default_buttons = false, + add_default_buttons = true, monospace_font = true, text_type = "code", keep_running = true, -- keep connection alive when UI is closed @@ -57,12 +57,6 @@ function IrcChatView:init(reinit) self:promptSendMessage() end, }, - { - text = _("Close"), - callback = function() - self:onClose() - end, - }, } } -- Buffers & title