Add tutanota to the list of email clients not supporting attachments.

This list is the clients that don't support attachments when called from
an intent. We want to include debug info inline for those.
pull/71/head
Tom Hacohen 5 years ago
parent 66953c4956
commit 409f586835

@ -16,7 +16,12 @@ import java.text.SimpleDateFormat
import java.util.*
fun emailSupportsAttachments(context: Context): Boolean {
return !packageInstalled(context, "ch.protonmail.android")
return !arrayOf(
"ch.protonmail.android",
"de.tutao.tutanota"
).any{
packageInstalled(context, it)
}
}
class EventEmailInvitation constructor(val context: Context, val account: Account) {

Loading…
Cancel
Save