fix crash when loading timelines
This commit is contained in:
parent
8acee3ce72
commit
df5e3a1621
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue