Merge branch 'develop' into ref/segregate-api-layer
This commit is contained in:
@@ -11,6 +11,7 @@ class ChannelInfo extends StatelessWidget {
|
||||
required this.channel,
|
||||
this.textStyle,
|
||||
this.showTypingIndicator = true,
|
||||
this.parentId,
|
||||
}) : super(key: key);
|
||||
|
||||
/// The channel about which the info is to be displayed
|
||||
@@ -22,6 +23,9 @@ class ChannelInfo extends StatelessWidget {
|
||||
/// If true the typing indicator will be rendered if a user is typing
|
||||
final bool showTypingIndicator;
|
||||
|
||||
/// Id of the parent message in case of a thread
|
||||
final String? parentId;
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
final client = StreamChat.of(context).client;
|
||||
@@ -88,6 +92,7 @@ class ChannelInfo extends StatelessWidget {
|
||||
}
|
||||
|
||||
return TypingIndicator(
|
||||
parentId: parentId,
|
||||
alignment: Alignment.center,
|
||||
alternativeWidget: alternativeWidget,
|
||||
style: textStyle,
|
||||
|
||||
Reference in New Issue
Block a user