mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Removed deprecated Confirmbox option cancel_on_tap_outside = true
This commit is contained in:
committed by
Qingping Hou
parent
67a6eb271d
commit
3ea18208d7
@@ -178,7 +178,6 @@ function ReaderLink:onGotoLink(link)
|
||||
local ConfirmBox = require("ui/widget/confirmbox")
|
||||
UIManager:show(ConfirmBox:new{
|
||||
text = T(_("Would you like to read this Wikipedia %1 article?\n\n%2\n"), wiki_lang:upper(), wiki_page:gsub("_", " ")),
|
||||
cancel_on_tap_outside = true,
|
||||
ok_callback = function()
|
||||
UIManager:nextTick(function()
|
||||
self.ui:handleEvent(Event:new("LookupWikipedia", wiki_page, false, true, wiki_lang))
|
||||
|
||||
Reference in New Issue
Block a user