Fix issue with expected types.
This commit is contained in:
parent
9f68d9d803
commit
8e375a7fb2
|
@ -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)
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue