add useThemedIcon inonBindViewHolder
This commit is contained in:
parent
baa952fde3
commit
fedf990e45
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue