visual improvements

new icon
This commit is contained in:
2021-09-13 01:10:56 +03:00
parent 400ff118b5
commit 617edf68bf
30 changed files with 282 additions and 53 deletions
@@ -11,6 +11,7 @@ import kotlinx.parcelize.Parcelize
data class VkConversation(
@PrimaryKey(autoGenerate = false)
val id: Int,
val ownerId: Int?,
val title: String?,
val photo200: String?,
val type: String,
@@ -22,7 +23,8 @@ data class VkConversation(
val isMarkedUnread: Boolean,
val lastMessageId: Int,
val unreadCount: Int?,
val membersCount: Int?
val membersCount: Int?,
val isPinned: Boolean
) : Parcelable {
@Ignore
var lastMessage: VkMessage? = null
@@ -51,7 +51,9 @@ data class BaseVkConversation(
isMarkedUnread = isMarkedUnread,
lastMessageId = lastMessageId,
unreadCount = unreadCount,
membersCount = chatSettings?.membersCount
membersCount = chatSettings?.membersCount,
ownerId = chatSettings?.ownerId,
isPinned = sortId.majorId > 0
).apply { this.lastMessage = lastMessage }
@Parcelize