forked from GitHub-Mirror/riotX-android
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)
|
collapsedEventIds.removeAll(mergedEventIds)
|
||||||
}
|
}
|
||||||
val mergeId = mergedEventIds.joinToString(separator = "_") { it }
|
val mergeId = mergedEventIds.joinToString(separator = "_") { it }
|
||||||
(MergedHeaderItem(isCollapsed, mergeId, mergedData, avatarRenderer) {
|
MergedHeaderItem(isCollapsed, mergeId, mergedData, avatarRenderer) {
|
||||||
mergeItemCollapseStates[event.localId] = it
|
mergeItemCollapseStates[event.localId] = it
|
||||||
requestModelBuild()
|
requestModelBuild()
|
||||||
}).also {
|
}.also {
|
||||||
it.setOnVisibilityStateChanged(MergedTimelineEventVisibilityStateChangedListener(callback, mergedEvents))
|
it.setOnVisibilityStateChanged(MergedTimelineEventVisibilityStateChangedListener(callback, mergedEvents))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user