From 926d0a6e9219852c48f15b526493267a855517e2 Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Sun, 8 Sep 2019 01:45:02 -0700 Subject: Update extensions --- app/src/main/kotlin/com/pitchedapps/frost/activities/ImageActivity.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'app/src/main/kotlin') diff --git a/app/src/main/kotlin/com/pitchedapps/frost/activities/ImageActivity.kt b/app/src/main/kotlin/com/pitchedapps/frost/activities/ImageActivity.kt index 47b72354..15efc527 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/activities/ImageActivity.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/activities/ImageActivity.kt @@ -301,8 +301,9 @@ class ImageActivity : KauBaseActivity() { return null } return when (type.substring(6)) { - "jpeg", "jpg" -> ".jpg" + "jpeg" -> ".jpg" "png" -> ".png" + "gif" -> ".gif" else -> null } } -- cgit v1.2.3