Fix code formatting

This commit is contained in:
Maxime Naturel 2022-02-16 16:09:10 +01:00
parent 4641153df0
commit bc45c0ce50

View File

@ -123,10 +123,10 @@ class MergedHeaderItemFactory @Inject constructor(private val activeSessionHolde
collapsedEventIds.removeAll(mergedEventIds)
}
val mergeId = mergedEventIds.joinToString(separator = "_") { it.toString() }
val summaryTitleResId = when(event.root.getClearType()) {
EventType.STATE_ROOM_MEMBER -> R.plurals.membership_changes
val summaryTitleResId = when (event.root.getClearType()) {
EventType.STATE_ROOM_MEMBER -> R.plurals.membership_changes
EventType.STATE_ROOM_SERVER_ACL -> R.plurals.notice_room_server_acl_changes
else -> null
else -> null
}
summaryTitleResId?.let { summaryTitle ->
val attributes = DefaultMergedEventsItem.Attributes(