chore: Follow up jump to unread message
This commit is contained in:
parent
e690f1e14c
commit
14c2bf0508
4 changed files with 60 additions and 37 deletions
|
|
@ -139,8 +139,6 @@ class ChatView extends StatelessWidget {
|
|||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
controller.readMarkerEventId ??= controller.room.fullyRead;
|
||||
|
||||
if (controller.room.membership == Membership.invite) {
|
||||
showFutureLoadingDialog(
|
||||
context: context,
|
||||
|
|
@ -167,7 +165,7 @@ class ChatView extends StatelessWidget {
|
|||
stream: controller.room.onUpdate.stream
|
||||
.rateLimit(const Duration(seconds: 1)),
|
||||
builder: (context, snapshot) => FutureBuilder(
|
||||
future: controller.getTimeline(),
|
||||
future: controller.loadTimelineFuture,
|
||||
builder: (BuildContext context, snapshot) {
|
||||
return Scaffold(
|
||||
appBar: AppBar(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue