Fix issue with expected types.

This commit is contained in:
Benoit Marty 2022-10-03 16:08:56 +02:00 committed by Benoit Marty
parent 9f68d9d803
commit 8e375a7fb2
2 changed files with 2 additions and 2 deletions

View File

@ -245,7 +245,7 @@ class MessageItemFactory @Inject constructor(
.pollQuestion(createPollQuestion(informationData, pollViewState.question, callback)) .pollQuestion(createPollQuestion(informationData, pollViewState.question, callback))
.canVote(pollViewState.canVote) .canVote(pollViewState.canVote)
.votesStatus(pollViewState.votesStatus) .votesStatus(pollViewState.votesStatus)
.optionViewStates(pollViewState.optionViewStates) .optionViewStates(pollViewState.optionViewStates.orEmpty())
.edited(informationData.hasBeenEdited) .edited(informationData.hasBeenEdited)
.highlighted(highlight) .highlighted(highlight)
.leftGuideline(avatarSizeProvider.leftGuideline) .leftGuideline(avatarSizeProvider.leftGuideline)

View File

@ -65,7 +65,7 @@ class SpacePreviewController @Inject constructor(
subSpaceItem { subSpaceItem {
id(child.roomId) id(child.roomId)
roomId(child.roomId) roomId(child.roomId)
title(child.name) title(child.name ?: "")
depth(depth) depth(depth)
avatarUrl(child.avatarUrl) avatarUrl(child.avatarUrl)
avatarRenderer(host.avatarRenderer) avatarRenderer(host.avatarRenderer)