From 985be2de59da01e64e105bbc4e33170cf39a7ca6 Mon Sep 17 00:00:00 2001 From: Hardcore Sushi Date: Sat, 26 Mar 2022 13:02:11 +0100 Subject: [PATCH] Add HEIC to the image extension list --- app/src/main/java/sushi/hardcore/droidfs/ConstValues.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/sushi/hardcore/droidfs/ConstValues.kt b/app/src/main/java/sushi/hardcore/droidfs/ConstValues.kt index 1ee8b97..e4ba822 100644 --- a/app/src/main/java/sushi/hardcore/droidfs/ConstValues.kt +++ b/app/src/main/java/sushi/hardcore/droidfs/ConstValues.kt @@ -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")),