mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
FileManager: Hold the "+" button to refresh content (#7559)
This commit is contained in:
@@ -129,6 +129,13 @@ function FileManager:setupLayout()
|
||||
padding_right = Size.padding.large,
|
||||
padding_bottom = 0,
|
||||
callback = function() self:onShowPlusMenu() end,
|
||||
hold_callback = function()
|
||||
self:onRefresh()
|
||||
UIManager:show(InfoMessage:new{
|
||||
text = _("Content refreshed."),
|
||||
timeout = 2,
|
||||
})
|
||||
end,
|
||||
}
|
||||
|
||||
self.path_text = TextWidget:new{
|
||||
|
||||
Reference in New Issue
Block a user