mirror of
https://github.com/etesync/android
synced 2025-01-11 00:01:12 +00:00
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.
This commit is contained in:
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…
Reference in New Issue
Block a user