close menu before sharing text
This commit is contained in:
1 parent
5ef329c19c
commit
ffabb26aae
1 file changed
+4
-1
@@ -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