aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/kotlin/com/pitchedapps
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2019-09-08 01:45:02 -0700
committerAllan Wang <me@allanwang.ca>2019-09-08 01:45:08 -0700
commit926d0a6e9219852c48f15b526493267a855517e2 (patch)
treec873a946542527fa5186e84fbe2d3e5eb6203c8c /app/src/main/kotlin/com/pitchedapps
parent6b1b4c776d2a805e03611cc6e686ff9c603edd57 (diff)
downloadfrost-926d0a6e9219852c48f15b526493267a855517e2.tar.gz
frost-926d0a6e9219852c48f15b526493267a855517e2.tar.bz2
frost-926d0a6e9219852c48f15b526493267a855517e2.zip
Update extensions
Diffstat (limited to 'app/src/main/kotlin/com/pitchedapps')
-rw-r--r--app/src/main/kotlin/com/pitchedapps/frost/activities/ImageActivity.kt3
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
}
}