Exporter - fix android shares (#11259)

reviewable/pr11262/r1
mergen3107 4 months ago committed by GitHub
parent 33b54f5574
commit 9ba66ac382
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -151,10 +151,8 @@ end
Shares text with other apps
]]
function BaseExporter:shareText(text, title)
local msg_reason = _("Share") .. " " .. self.name
local msg_text = type(text) == "string" and text
local msg_title = type(title) == "string" and title
Device:doShareText(msg_text, msg_reason, msg_title, self.mimetype)
local reason = _("Share") .. " " .. self.name
Device:doShareText(text, reason, title, self.mimetype)
end
return BaseExporter

Loading…
Cancel
Save