forked from upstream-mirrors/quik
#1012 - Show video attachments
This commit is contained in:
@@ -25,4 +25,8 @@ fun MmsPart.isSmil() = ContentType.APP_SMIL == type
|
||||
|
||||
fun MmsPart.isImage() = ContentType.isImageType(type)
|
||||
|
||||
fun MmsPart.isText() = ContentType.isTextType(type)
|
||||
fun MmsPart.isVideo() = ContentType.isVideoType(type)
|
||||
|
||||
fun MmsPart.isText() = ContentType.isTextType(type)
|
||||
|
||||
fun MmsPart.hasThumbnails() = isImage() || isVideo()
|
||||
Reference in New Issue
Block a user