mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-08-06 05:14:50 +01:00
Align content type checks for media store video.
This commit is contained in:
@@ -814,11 +814,11 @@ class MediaSendViewModel(
|
||||
}
|
||||
|
||||
private fun isNonGifVideo(media: Media): Boolean {
|
||||
return ContentTypeUtil.isVideo(media.contentType) && !media.isVideoGif
|
||||
return ContentTypeUtil.isVideoType(media.contentType) && !media.isVideoGif
|
||||
}
|
||||
|
||||
private fun isGifVideo(media: Media): Boolean {
|
||||
return ContentTypeUtil.isVideo(media.contentType) && media.isVideoGif
|
||||
return ContentTypeUtil.isVideoType(media.contentType) && media.isVideoGif
|
||||
}
|
||||
|
||||
//endregion
|
||||
|
||||
Reference in New Issue
Block a user