mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
close menu before sharing text
This commit is contained in:
committed by
Frans de Jonge
parent
5ef329c19c
commit
ffabb26aae
@@ -503,7 +503,10 @@ function ReaderHighlight:onShowHighlightMenu()
|
||||
{
|
||||
text = _("Share text"),
|
||||
callback = function()
|
||||
Device.doShareText(self.selected_text.text)
|
||||
local text = self.selected_text.text
|
||||
-- call self:onClose() before calling the android framework
|
||||
self:onClose()
|
||||
Device.doShareText(text)
|
||||
end,
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user