feat: Use fragmented timeline to jump to event
This commit is contained in:
parent
2b75a4626d
commit
c00a6e3d00
3 changed files with 70 additions and 66 deletions
|
|
@ -179,7 +179,7 @@ class ChatView extends StatelessWidget {
|
|||
child: StreamBuilder(
|
||||
stream: controller.room!.onUpdate.stream
|
||||
.rateLimit(const Duration(seconds: 1)),
|
||||
builder: (context, snapshot) => FutureBuilder<bool>(
|
||||
builder: (context, snapshot) => FutureBuilder(
|
||||
future: controller.getTimeline(),
|
||||
builder: (BuildContext context, snapshot) {
|
||||
return Scaffold(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue