add thread parent indicators

This commit is contained in:
Salvatore Giordano
2021-06-17 13:04:53 +02:00
parent 2af7c78bd1
commit 4182ad3501
6 changed files with 118 additions and 88 deletions
@@ -700,7 +700,10 @@ class MessageInputState extends State<MessageInput> {
if (!mounted) {
return;
}
StreamChannel.of(context).channel.keyStroke().catchError((e) {});
StreamChannel.of(context)
.channel
.keyStroke(widget.parentMessage?.id)
.catchError((e) {});
setState(() {
_messageIsPresent = s.trim().isNotEmpty;