1
0
mirror of https://github.com/AllanWang/Frost-for-Facebook.git synced 2024-11-10 04:52:38 +01:00

Update extensions

This commit is contained in:
Allan Wang 2019-09-08 01:45:02 -07:00
parent 6b1b4c776d
commit 926d0a6e92
No known key found for this signature in database
GPG Key ID: C93E3F9C679D7A56

View File

@ -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
}
}