fix formatting

This commit is contained in:
Bartek Stoliński
2022-02-22 09:49:18 +01:00
parent e9626dc348
commit 52b035cb5f
2 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -10,7 +10,7 @@
- [[#890]](https://github.com/GetStream/stream-chat-flutter/pull/890) Fixed Reactions not updating on thread messages.
Thanks [bstolinski](https://github.com/bstolinski).
- [[#897]](https://github.com/GetStream/stream-chat-flutter/issues/897) Fixed error type mis-match in `AuthInterceptor`.
- [[#891]](https://github.com/GetStream/stream-chat-flutter/pull/891). Fixed reply counter for parent message not
- [[#891]](https://github.com/GetStream/stream-chat-flutter/pull/891) Fixed reply counter for parent message not
updating correctly after deleting thread message.
## 3.4.0
@@ -1833,8 +1833,7 @@ class ChannelClientState {
final newThreads = Map<String, List<Message>>.from(threads);
newThreads[parentId] = [
...newThreads[parentId]!
..removeWhere((e) => e.id == message.id),
...newThreads[parentId]!..removeWhere((e) => e.id == message.id),
];
_threads = newThreads;