forked from GitHub-Mirror/riotX-android
Fix #253 / Image with no mimetype in info
This commit is contained in:
parent
0d433b2620
commit
9224fcabfa
@ -21,7 +21,7 @@ import com.squareup.moshi.JsonClass
|
||||
|
||||
@JsonClass(generateAdapter = true)
|
||||
data class ImageInfo(
|
||||
@Json(name = "mimetype") val mimeType: String,
|
||||
@Json(name = "mimetype") val mimeType: String?,
|
||||
@Json(name = "w") val width: Int = 0,
|
||||
@Json(name = "h") val height: Int = 0,
|
||||
@Json(name = "size") val size: Int = 0,
|
||||
|
Loading…
Reference in New Issue
Block a user