ReaderHighlight: minor fixes (#10142)

* readerui: save highlight to pdf requires button press

* readerhighlight: fix select mode confirmbox icon
reviewable/pr10147/r1
hius07 1 year ago committed by GitHub
parent e79f161516
commit 54b3b5a8cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -618,7 +618,7 @@ function ReaderHighlight:onTapSelectModeIcon()
if not self.select_mode then return end
UIManager:show(ConfirmBox:new{
text = _("You are currently in SELECT mode.\nTo finish highlighting, long press where the highlight should end and press the HIGHLIGHT button.\nYou can also exit select mode by tapping on the start of the highlight."),
icon = "format-quote-close",
icon = "texture-box",
ok_text = _("Exit select mode"),
cancel_text = _("Close"),
ok_callback = function()

@ -756,9 +756,9 @@ function ReaderUI:notifyCloseDocument()
self:closeDocument()
else
UIManager:show(ConfirmBox:new{
text = _("Do you want to save this document?"),
ok_text = _("Save"),
cancel_text = _("Don't save"),
text = _("Write highlights into this PDF??"),
ok_text = _("Write"),
dismissable = false,
ok_callback = function()
self:closeDocument()
end,

Loading…
Cancel
Save