Merge branch 'feature/new-ui' of github.com:GetStream/stream-chat-flutter into feature/theme

 Conflicts:
	lib/src/message_widget.dart
	lib/src/sending_indicator.dart
This commit is contained in:
Sahil Kumar
2020-12-31 16:35:56 +05:30
7 changed files with 169 additions and 151 deletions
+5 -1
View File
@@ -125,7 +125,11 @@ class ChannelPreview extends StatelessWidget {
padding: const EdgeInsets.only(right: 4.0),
child: SendingIndicator(
message: channel.state.lastMessage,
allRead: channel.state.read
size: StreamChatTheme.of(context)
.channelPreviewTheme
.lastMessageAt
.fontSize,
isMessageRead: channel.state.read
.where((element) => element.lastRead
.isAfter(channel
.state.lastMessage.createdAt))