FileManager: Hold the "+" button to refresh content (#7559)

This commit is contained in:
hius07
2021-04-18 01:58:52 +03:00
committed by GitHub
parent 475f46c427
commit 7b169dfa5e

View File

@@ -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{