fix(ui): add comment
This commit is contained in:
@@ -1386,10 +1386,11 @@ class _StreamMessageListViewState extends State<StreamMessageListView> {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
_messageNewListener = streamChannel!.channel
|
_messageNewListener =
|
||||||
.on(EventType.messageNew)
|
streamChannel!.channel.on(EventType.messageNew).skip(1)
|
||||||
.skip(1) //skipping the first event
|
//skipping the first event because
|
||||||
.listen((event) {
|
//the StreamController is a BehaviorSubject
|
||||||
|
.listen((event) {
|
||||||
if (_upToDate) {
|
if (_upToDate) {
|
||||||
_bottomPaginationActive = false;
|
_bottomPaginationActive = false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user