add useThemedIcon inonBindViewHolder

This commit is contained in:
Chumva 2018-07-13 19:00:34 +03:00
parent baa952fde3
commit fedf990e45

View file

@ -244,7 +244,7 @@ class LiveNowTabFragment : Fragment(), TelegramListener, TelegramIncomingMessage
val canBeOpenedOnMap = item.canBeOpenedOnMap() val canBeOpenedOnMap = item.canBeOpenedOnMap()
val openOnMapView = holder.getOpenOnMapClickView() val openOnMapView = holder.getOpenOnMapClickView()
TelegramUiHelper.setupPhoto(app, holder.icon, item.photoPath, item.placeholderId) TelegramUiHelper.setupPhoto(app, holder.icon, item.photoPath, item.placeholderId, false)
holder.title?.text = item.getVisibleName() holder.title?.text = item.getVisibleName()
openOnMapView?.isEnabled = canBeOpenedOnMap openOnMapView?.isEnabled = canBeOpenedOnMap
if (canBeOpenedOnMap) { if (canBeOpenedOnMap) {