diff options
Diffstat (limited to 'app/src/main')
-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 } } |