mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-01 14:46:31 +02:00
Better guess attached file type
This commit is contained in:
@@ -2383,7 +2383,7 @@ public class FragmentCompose extends FragmentBase {
|
||||
ftype = null;
|
||||
}
|
||||
|
||||
if (TextUtils.isEmpty(ftype))
|
||||
if (TextUtils.isEmpty(ftype) || "*/*".equals(ftype))
|
||||
ftype = Helper.guessMimeType(fname);
|
||||
|
||||
if (fsize != null && fsize <= 0)
|
||||
|
||||
Reference in New Issue
Block a user