mirror of
https://github.com/krille-chan/fluffychat
synced 2024-09-17 09:35:12 +00:00
fix: Do not scroll up on enter chat
This commit is contained in:
parent
7a292655c8
commit
9c55800aeb
1 changed files with 0 additions and 1 deletions
|
@ -317,7 +317,6 @@ class ChatController extends State<ChatPageWithRoom> {
|
||||||
if (fullyRead.isEmpty) return;
|
if (fullyRead.isEmpty) return;
|
||||||
if (timeline!.events.any((event) => event.eventId == fullyRead)) {
|
if (timeline!.events.any((event) => event.eventId == fullyRead)) {
|
||||||
Logs().v('Scroll up to visible event', fullyRead);
|
Logs().v('Scroll up to visible event', fullyRead);
|
||||||
scrollToEventId(fullyRead);
|
|
||||||
setReadMarker();
|
setReadMarker();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue