Fix file push media constraint
// FREEBIE
This commit is contained in:
parent
e4ac1b8dde
commit
66d1d88686
1 changed files with 1 additions and 1 deletions
|
@ -165,7 +165,7 @@ public class MediaUtil {
|
|||
}
|
||||
|
||||
public static boolean isFile(Attachment attachment) {
|
||||
return !isImage(attachment) && !isAudio(attachment) && !isVideo(attachment);
|
||||
return !isGif(attachment) && !isImage(attachment) && !isAudio(attachment) && !isVideo(attachment);
|
||||
}
|
||||
|
||||
public static boolean hasVideoThumbnail(Uri uri) {
|
||||
|
|
Loading…
Add table
Reference in a new issue