mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Restart KOReader: add a ConfirmBox instead of a plain InfoMessage (#9853)
This commit is contained in:
@@ -145,9 +145,7 @@ local getSubMenuItems = function()
|
||||
return
|
||||
end
|
||||
end
|
||||
UIManager:show(InfoMessage:new{
|
||||
text = _("This will take effect on next restart."),
|
||||
})
|
||||
UIManager:askForRestart()
|
||||
end,
|
||||
}
|
||||
table.insert(menu_items, item)
|
||||
|
||||
Reference in New Issue
Block a user