ReaderHighlight: delete highlight in view note dialog (#11039)

reviewable/pr11051/r1
hius07 7 months ago committed by GitHub
parent 12bea3b14b
commit 6b892a65a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -894,9 +894,10 @@ function ReaderHighlight:showHighlightNoteOrDialog(page, index, bookmark_note)
buttons_table = {
{
{
text = _("Close"),
text = _("Delete highlight"),
callback = function()
UIManager:close(textviewer)
self:deleteHighlight(page, index)
end,
},
{

Loading…
Cancel
Save