Fix code quality

This commit is contained in:
Benoit Marty 2019-07-02 21:17:41 +02:00
parent 77fd7cd33c
commit 6c66ab1568

View File

@ -299,10 +299,10 @@ class TimelineEventController @Inject constructor(private val dateFormatter: Tim
collapsedEventIds.removeAll(mergedEventIds)
}
val mergeId = mergedEventIds.joinToString(separator = "_") { it }
(MergedHeaderItem(isCollapsed, mergeId, mergedData, avatarRenderer) {
MergedHeaderItem(isCollapsed, mergeId, mergedData, avatarRenderer) {
mergeItemCollapseStates[event.localId] = it
requestModelBuild()
}).also {
}.also {
it.setOnVisibilityStateChanged(MergedTimelineEventVisibilityStateChangedListener(callback, mergedEvents))
}
}