Timeline : add non empty content to displayable conditions => should probably be removed later if we want to handle this case with special epoxy item.
This commit is contained in:
parent
a7b81a4671
commit
2e2d5b9f86
|
@ -39,7 +39,7 @@ object TimelineDisplayableEvents {
|
|||
}
|
||||
|
||||
fun TimelineEvent.isDisplayable(): Boolean {
|
||||
return TimelineDisplayableEvents.DISPLAYABLE_TYPES.contains(root.type)
|
||||
return TimelineDisplayableEvents.DISPLAYABLE_TYPES.contains(root.type) && !root.content.isNullOrEmpty()
|
||||
}
|
||||
|
||||
fun List<TimelineEvent>.filterDisplayableEvents(): List<TimelineEvent> {
|
||||
|
|
Loading…
Reference in New Issue