Merge branch 'master' of https://github.com/GetStream/stream-chat-flutter into feat/custom-attachment-upload
Conflicts: packages/stream_chat_flutter/pubspec.yaml packages/stream_chat_flutter_core/pubspec.yaml packages/stream_chat_persistence/pubspec.yaml
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
## 1.0.2-beta
|
||||
|
||||
* Update llc dependency
|
||||
|
||||
## 1.0.1-beta
|
||||
|
||||
* Update llc dependency
|
||||
|
||||
@@ -314,12 +314,24 @@ class StreamChannelState extends State<StreamChannel> {
|
||||
@override
|
||||
void initState() {
|
||||
super.initState();
|
||||
_populateFutures();
|
||||
}
|
||||
|
||||
void _populateFutures() {
|
||||
_futures = [widget.channel.initialized];
|
||||
if (initialMessageId != null) {
|
||||
_futures.add(_loadChannelAtMessage);
|
||||
}
|
||||
}
|
||||
|
||||
@override
|
||||
void didUpdateWidget(covariant StreamChannel oldWidget) {
|
||||
if (oldWidget.initialMessageId != initialMessageId) {
|
||||
_populateFutures();
|
||||
}
|
||||
super.didUpdateWidget(oldWidget);
|
||||
}
|
||||
|
||||
@override
|
||||
void dispose() {
|
||||
_queryTopMessagesController.close();
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
name: stream_chat_flutter_core
|
||||
homepage: https://github.com/GetStream/stream-chat-flutter
|
||||
description: Stream Chat official Flutter SDK Core. Build your own chat experience using Dart and Flutter.
|
||||
version: 1.0.1-beta
|
||||
version: 1.0.2-beta
|
||||
repository: https://github.com/GetStream/stream-chat-flutter
|
||||
issue_tracker: https://github.com/GetStream/stream-chat-flutter/issues
|
||||
|
||||
|
||||
Reference in New Issue
Block a user