Replace TdApi.Chat with ChatItem

This commit is contained in:
Alex Sytnyk 2018-07-06 18:27:22 +03:00
parent c437123755
commit fb0b299760

View file

@ -207,7 +207,7 @@ class LiveNowTabFragment : Fragment(), TelegramListener, TelegramIncomingMessage
override fun getItemViewType(position: Int): Int { override fun getItemViewType(position: Int): Int {
return when (items[position]) { return when (items[position]) {
is TdApi.Chat -> CHAT_VIEW_TYPE is ChatItem -> CHAT_VIEW_TYPE
else -> LOCATION_ITEM_VIEW_TYPE else -> LOCATION_ITEM_VIEW_TYPE
} }
} }