Add .avif extension

This commit is contained in:
Matéo Duparc 2024-10-29 11:58:43 +01:00
parent 9872cab7c2
commit 88bd746359
Signed by: hardcoresushi
GPG Key ID: AFE384344A45E13A

View File

@ -4,7 +4,7 @@ import java.io.File
object FileTypes {
private val FILE_EXTENSIONS = mapOf(
Pair("image", listOf("png", "jpg", "jpeg", "gif", "webp", "bmp", "heic")),
Pair("image", listOf("png", "jpg", "jpeg", "gif", "avif", "webp", "bmp", "heic")),
Pair("video", listOf("mp4", "webm", "mkv", "mov", "m4v")),
Pair("audio", listOf("mp3", "ogg", "m4a", "wav", "flac", "opus")),
Pair("pdf", listOf("pdf")),