Add HEIC to the image extension list

This commit is contained in:
Matéo Duparc 2022-03-26 13:02:11 +01:00
parent f07d99efed
commit 985be2de59
Signed by: hardcoresushi
GPG Key ID: AFE384344A45E13A
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ object ConstValues {
const val THUMBNAIL_MAX_SIZE_KEY = "thumbnail_max_size"
const val DEFAULT_THUMBNAIL_MAX_SIZE = 10_000L
private val FILE_EXTENSIONS = mapOf(
Pair("image", listOf("png", "jpg", "jpeg", "gif", "webp", "bmp")),
Pair("image", listOf("png", "jpg", "jpeg", "gif", "webp", "bmp", "heic")),
Pair("video", listOf("mp4", "webm", "mkv", "mov")),
Pair("audio", listOf("mp3", "ogg", "m4a", "wav", "flac")),
Pair("pdf", listOf("pdf")),