From 26e512c765331fee9377ea85e861c1d57d0ca063 Mon Sep 17 00:00:00 2001 From: tibbi Date: Mon, 27 Feb 2017 20:22:01 +0100 Subject: [PATCH] add 3gp to supported video formats --- .../kotlin/com/simplemobiletools/commons/extensions/String.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commons/src/main/kotlin/com/simplemobiletools/commons/extensions/String.kt b/commons/src/main/kotlin/com/simplemobiletools/commons/extensions/String.kt index 3af584e03..c11647433 100644 --- a/commons/src/main/kotlin/com/simplemobiletools/commons/extensions/String.kt +++ b/commons/src/main/kotlin/com/simplemobiletools/commons/extensions/String.kt @@ -25,7 +25,7 @@ fun String.isAValidFilename(): Boolean { } val String.photoExtensions: Array get() = arrayOf(".jpg", ".png", ".jpeg", ".bmp", ".webp") -val String.videoExtensions: Array get() = arrayOf(".mp4", ".mkv", ".webm", ".avi") +val String.videoExtensions: Array get() = arrayOf(".mp4", ".mkv", ".webm", ".avi", ".3gp") fun String.isImageVideoGif() = isImageFast() || isVideoFast() || isGif()