Remove IN HISTORY label on stream info items

This commit is contained in:
Stypox 2021-03-26 11:35:54 +01:00
parent 360f5ac6f7
commit e58feadba9
No known key found for this signature in database
GPG key ID: 4BDF1B40A49FDD23
8 changed files with 5 additions and 142 deletions

View file

@ -30,7 +30,6 @@ data class StreamItem(
private val stream: StreamEntity = streamWithState.stream
private val stateProgressTime: Long? = streamWithState.stateProgressTime
private val isInHistory: Boolean = streamWithState.isInHistory
override fun getId(): Long = stream.uid
@ -94,9 +93,6 @@ data class StreamItem(
viewBinding.itemProgressView.visibility = View.GONE
}
viewBinding.itemInHistoryIndicatorView.visibility =
if (isInHistory && !isLiveStream) View.VISIBLE else View.GONE
ImageLoader.getInstance().displayImage(
stream.thumbnailUrl, viewBinding.itemThumbnailView,
ImageDisplayConstants.DISPLAY_THUMBNAIL_OPTIONS