mirror of
https://github.com/vector-im/element-android.git
synced 2024-11-15 01:35:07 +08:00
Fix code quality
This commit is contained in:
parent
77fd7cd33c
commit
6c66ab1568
@ -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))
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user