From 1f47b65a597e64db1d159d8ed2b200e88908b734 Mon Sep 17 00:00:00 2001 From: Conny Duck Date: Tue, 17 Apr 2018 18:37:01 +0200 Subject: [PATCH] fix crash when loading timelines --- app/src/main/java/com/keylesspalace/tusky/entity/Status.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/keylesspalace/tusky/entity/Status.kt b/app/src/main/java/com/keylesspalace/tusky/entity/Status.kt index 09096e5b..8f4546de 100644 --- a/app/src/main/java/com/keylesspalace/tusky/entity/Status.kt +++ b/app/src/main/java/com/keylesspalace/tusky/entity/Status.kt @@ -31,8 +31,8 @@ data class Status( val emojis: List, @SerializedName("reblogs_count") val reblogsCount: Int, @SerializedName("favourites_count") val favouritesCount: Int, - var reblogged: Boolean?, - var favourited: Boolean?, + var reblogged: Boolean = false, + var favourited: Boolean = false, var sensitive: Boolean, @SerializedName("spoiler_text") val spoilerText: String, val visibility: Visibility,