fix VkLink.kt target NullPointerException

This commit is contained in:
2021-10-10 18:38:43 +03:00
parent ff5d449b3b
commit 118c531d00
9 changed files with 22 additions and 23 deletions
@@ -4,5 +4,4 @@ object ApiExtensions {
val Boolean.intString get() = (if (this) 1 else 0).toString()
}
@@ -9,7 +9,7 @@ data class VkLink(
val title: String?,
val caption: String?,
val photo: VkPhoto?,
val target: String,
val target: String?,
val isFavorite: Boolean
) : VkAttachment() {
@@ -9,7 +9,7 @@ data class BaseVkLink(
val title: String?,
val caption: String?,
val photo: BaseVkPhoto?,
val target: String,
val target: String?,
val is_favorite: Boolean
) : BaseVkAttachment() {