fix crash when loading timelines

This commit is contained in:
Conny Duck 2018-04-17 18:37:01 +02:00
parent 8acee3ce72
commit df5e3a1621

View file

@ -31,8 +31,8 @@ data class Status(
val emojis: List<Emoji>, val emojis: List<Emoji>,
@SerializedName("reblogs_count") val reblogsCount: Int, @SerializedName("reblogs_count") val reblogsCount: Int,
@SerializedName("favourites_count") val favouritesCount: Int, @SerializedName("favourites_count") val favouritesCount: Int,
var reblogged: Boolean?, var reblogged: Boolean = false,
var favourited: Boolean?, var favourited: Boolean = false,
var sensitive: Boolean, var sensitive: Boolean,
@SerializedName("spoiler_text") val spoilerText: String, @SerializedName("spoiler_text") val spoilerText: String,
val visibility: Visibility, val visibility: Visibility,