mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2025-01-23 10:34:25 +01:00
Merge branch 'soru/fix-empty-timeline' into 'main'
fix: Empty timeline crashing See merge request famedly/fluffychat!511
This commit is contained in:
commit
032b40868d
@ -79,7 +79,9 @@ class ChatController extends State<Chat> {
|
||||
|
||||
String pendingText = '';
|
||||
|
||||
bool get canLoadMore => timeline.events.last.type != EventTypes.RoomCreate;
|
||||
bool get canLoadMore =>
|
||||
timeline.events.isEmpty ||
|
||||
timeline.events.last.type != EventTypes.RoomCreate;
|
||||
|
||||
bool showEmojiPicker = false;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user