diff options
author | Allan Wang <me@allanwang.ca> | 2019-09-08 01:45:02 -0700 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2019-09-08 01:45:08 -0700 |
commit | 926d0a6e9219852c48f15b526493267a855517e2 (patch) | |
tree | c873a946542527fa5186e84fbe2d3e5eb6203c8c /app/src/main/kotlin/com | |
parent | 6b1b4c776d2a805e03611cc6e686ff9c603edd57 (diff) | |
download | frost-926d0a6e9219852c48f15b526493267a855517e2.tar.gz frost-926d0a6e9219852c48f15b526493267a855517e2.tar.bz2 frost-926d0a6e9219852c48f15b526493267a855517e2.zip |
Update extensions
Diffstat (limited to 'app/src/main/kotlin/com')
-rw-r--r-- | app/src/main/kotlin/com/pitchedapps/frost/activities/ImageActivity.kt | 3 |
1 files changed, 2 insertions, 1 deletions
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 } } |