mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
[Status bar] Add custom text to footer (#8419)
Allows to add any text to the status bar. Can be a placeholder (empty space) for better positioning of the indicators.
This commit is contained in:
@@ -925,7 +925,7 @@ function TouchMenu:onMenuHold(item, text_truncated)
|
||||
elseif item.help_text or type(item.help_text_func) == "function" then
|
||||
local help_text = item.help_text
|
||||
if item.help_text_func then
|
||||
help_text = item.help_text_func()
|
||||
help_text = item.help_text_func(self)
|
||||
end
|
||||
if help_text then
|
||||
UIManager:show(InfoMessage:new{ text = help_text, })
|
||||
|
||||
Reference in New Issue
Block a user