From b77c10d3fb42e8fc10b16ef1e19f3427f248f56a Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Tue, 9 Feb 2021 12:19:40 +0100 Subject: [PATCH] Fix compilation issue after merge of develop --- .../home/room/detail/timeline/factory/WidgetItemFactory.kt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/vector/src/main/java/im/vector/app/features/home/room/detail/timeline/factory/WidgetItemFactory.kt b/vector/src/main/java/im/vector/app/features/home/room/detail/timeline/factory/WidgetItemFactory.kt index 8d8f42b2d1..260958b19e 100644 --- a/vector/src/main/java/im/vector/app/features/home/room/detail/timeline/factory/WidgetItemFactory.kt +++ b/vector/src/main/java/im/vector/app/features/home/room/detail/timeline/factory/WidgetItemFactory.kt @@ -24,7 +24,6 @@ import im.vector.app.features.home.room.detail.timeline.TimelineEventController import im.vector.app.features.home.room.detail.timeline.helper.AvatarSizeProvider import im.vector.app.features.home.room.detail.timeline.helper.MessageInformationDataFactory import im.vector.app.features.home.room.detail.timeline.helper.MessageItemAttributesFactory -import im.vector.app.features.home.room.detail.timeline.helper.RoomSummaryHolder import im.vector.app.features.home.room.detail.timeline.item.WidgetTileTimelineItem import im.vector.app.features.home.room.detail.timeline.item.WidgetTileTimelineItem_ import org.matrix.android.sdk.api.extensions.orFalse @@ -37,7 +36,6 @@ import javax.inject.Inject class WidgetItemFactory @Inject constructor( private val sp: StringProvider, - private val roomSummaryHolder: RoomSummaryHolder, private val messageItemAttributesFactory: MessageItemAttributesFactory, private val informationDataFactory: MessageInformationDataFactory, private val noticeItemFactory: NoticeItemFactory, @@ -58,7 +56,7 @@ class WidgetItemFactory @Inject constructor( return when (WidgetType.fromString(widgetContent.type ?: previousWidgetContent?.type ?: "")) { WidgetType.Jitsi -> createJitsiItem(event, callback, widgetContent, previousWidgetContent) // There is lot of other widget types we could improve here - else -> noticeItemFactory.create(event, highlight, roomSummaryHolder.roomSummary, callback) + else -> noticeItemFactory.create(event, highlight, callback) } }