This commit is contained in:
Benoit Marty 2021-02-17 10:36:33 +01:00
parent a34c072c48
commit c787de75f5
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ class TimelineItemFactory @Inject constructor(private val messageItemFactory: Me
Timber.e(throwable, "failed to create message item") Timber.e(throwable, "failed to create message item")
defaultItemFactory.create(event, highlight, callback, throwable) defaultItemFactory.create(event, highlight, callback, throwable)
} }
return (computedModel ?: buildEmptyItem(event)) return computedModel ?: buildEmptyItem(event)
} }
private fun buildEmptyItem(timelineEvent: TimelineEvent): TimelineEmptyItem { private fun buildEmptyItem(timelineEvent: TimelineEvent): TimelineEmptyItem {