1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-02-24 07:01:05 +00:00

Guess shared application/* type

This commit is contained in:
M66B 2022-04-01 14:34:45 +02:00
parent f4c4a9f675
commit f36a9e4eb6

View file

@ -7605,6 +7605,7 @@ public class FragmentCompose extends FragmentBase {
if (TextUtils.isEmpty(result.type) || if (TextUtils.isEmpty(result.type) ||
"*/*".equals(result.type) || "*/*".equals(result.type) ||
"application/*".equals(result.type) ||
"application/octet-stream".equals(result.type)) "application/octet-stream".equals(result.type))
result.type = Helper.guessMimeType(result.name); result.type = Helper.guessMimeType(result.name);