Skip to content

Commit 3565489

Browse files
msglist: Fix DM header color lerp bug.
Fixed a bug in MessageListTheme.lerp() where dmRecipientHeaderBg was using streamMessageBgDefault instead of dmRecipientHeaderBg for interpolation.
1 parent d22a97e commit 3565489

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/widgets/message_list.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ class MessageListTheme extends ThemeExtension<MessageListTheme> {
153153
return MessageListTheme._(
154154
dateSeparator: Color.lerp(dateSeparator, other.dateSeparator, t)!,
155155
dateSeparatorText: Color.lerp(dateSeparatorText, other.dateSeparatorText, t)!,
156-
dmRecipientHeaderBg: Color.lerp(streamMessageBgDefault, other.dmRecipientHeaderBg, t)!,
156+
dmRecipientHeaderBg: Color.lerp(dmRecipientHeaderBg, other.dmRecipientHeaderBg, t)!,
157157
messageTimestamp: Color.lerp(messageTimestamp, other.messageTimestamp, t)!,
158158
recipientHeaderText: Color.lerp(recipientHeaderText, other.recipientHeaderText, t)!,
159159
senderBotIcon: Color.lerp(senderBotIcon, other.senderBotIcon, t)!,

0 commit comments

Comments
 (0)