This commit is contained in:
Benoit Marty 2021-02-17 10:36:33 +01:00
parent a34c072c48
commit c787de75f5

View file

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