Fix test compilation

This commit is contained in:
Benoit Marty 2023-05-23 11:26:02 +02:00 committed by Benoit Marty
parent c47ce5bc1c
commit d702d3d265
6 changed files with 52 additions and 23 deletions

View file

@ -32,10 +32,10 @@ import kotlinx.collections.immutable.toImmutableList
import javax.inject.Inject
/**
* Create a new list of [TimelineItem] by grouping some of them into [TimelineItem.GroupedEvents].
*/
class TimelineItemGrouper @Inject constructor() {
/**
* Create a new list of [TimelineItem] by grouping some of them into [TimelineItem.GroupedEvents].
*/
fun group(from: List<TimelineItem>, expandedGroups: Map<String, Boolean>): List<TimelineItem> {
val result = mutableListOf<TimelineItem>()
val currentGroup = mutableListOf<TimelineItem.Event>()