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

This commit is contained in:
hius07 authored and GitHub committed 2021-09-10 01:07:31 +02:00
1 parent 18687e4666
commit e16d36d5da
3 files changed
+14 -3

No files matched your search

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