Readersearch: add button to recall search input dialog (#8190)

This commit is contained in:
hius07
2021-09-10 02:07:31 +03:00
committed by GitHub
parent 18687e4666
commit e16d36d5da
3 changed files with 14 additions and 3 deletions

View File

@@ -303,6 +303,14 @@ function ReaderSearch:onShowSearchDialog(text, direction, regex, case_insensitiv
vsync = true,
callback = search(self.searchNext, text, 1),
},
{
icon = "appbar.search",
callback = function()
self.search_dialog:onClose()
self.last_search_text = text
self:onShowFulltextSearchInput()
end,
},
{
text = forward_text,
vsync = true,