Skip to content

Commit

Permalink
Review fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
borichellow committed Aug 9, 2024
1 parent e4772ca commit 2e7d1a6
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,10 @@ fun PreviewConversationScreenTopAppBarLongTitle() {
conversationName = UIText.DynamicString(
"This is some very very very very very very very very very very long conversation title"
),
conversationDetailsData = ConversationDetailsData.Group(null, QualifiedID("", "")),
conversationDetailsData = ConversationDetailsData.Group(
conversationProtocol = null,
conversationId = QualifiedID("", "")
),
conversationAvatar = ConversationAvatar.OneOne(null, UserAvailabilityStatus.NONE),
),
onBackButtonClick = {},
Expand All @@ -275,7 +278,10 @@ fun PreviewConversationScreenTopAppBarLongTitleWithSearch() {
conversationName = UIText.DynamicString(
"This is some very very very very very very very very very very long conversation title"
),
conversationDetailsData = ConversationDetailsData.Group(null, QualifiedID("", "")),
conversationDetailsData = ConversationDetailsData.Group(
conversationProtocol = null,
conversationId = QualifiedID("", "")
),
conversationAvatar = ConversationAvatar.OneOne(null, UserAvailabilityStatus.NONE),
),
onBackButtonClick = {},
Expand All @@ -300,7 +306,10 @@ fun PreviewConversationScreenTopAppBarLongTitleWithSearchAndOngoingCall() {
conversationName = UIText.DynamicString(
"This is some very very very very very very very very very very long conversation title"
),
conversationDetailsData = ConversationDetailsData.Group(null, QualifiedID("", "")),
conversationDetailsData = ConversationDetailsData.Group(
conversationProtocol = null,
conversationId = QualifiedID("", "")
),
conversationAvatar = ConversationAvatar.OneOne(null, UserAvailabilityStatus.NONE),
),
onBackButtonClick = {},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ fun PreviewMessageDecryptionFailure() {
mockHeader,
MessageFlowStatus.Failure.Decryption(false),
{ _, _ -> },
null
Conversation.ProtocolInfo.Proteus
)
}
}
Expand Down

0 comments on commit 2e7d1a6

Please sign in to comment.