Replace TdApi.Chat with ChatItem
This commit is contained in:
parent
c437123755
commit
fb0b299760
1 changed files with 1 additions and 1 deletions
|
@ -207,7 +207,7 @@ class LiveNowTabFragment : Fragment(), TelegramListener, TelegramIncomingMessage
|
|||
|
||||
override fun getItemViewType(position: Int): Int {
|
||||
return when (items[position]) {
|
||||
is TdApi.Chat -> CHAT_VIEW_TYPE
|
||||
is ChatItem -> CHAT_VIEW_TYPE
|
||||
else -> LOCATION_ITEM_VIEW_TYPE
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue