0
0
mirror of https://github.com/markusfisch/BinaryEye.git synced 2024-09-20 03:52:16 +02:00

Fix setting Intent.EXTRA_EMAIL for MatMsg contents

Remember, this must be an array.
This commit is contained in:
Markus Fisch 2022-06-06 20:59:03 +02:00
parent 9a15bf0871
commit 75a59bc3e9

View File

@ -33,7 +33,7 @@ object MatMsgAction : IntentAction() {
Uri.parse("mailto:")
).apply {
to?.let {
putExtra(Intent.EXTRA_EMAIL, to)
putExtra(Intent.EXTRA_EMAIL, arrayOf(to))
}
sub?.let {
putExtra(Intent.EXTRA_SUBJECT, sub)