Better icon

This commit is contained in:
Christian Pauly 2020-03-29 12:45:39 +02:00
commit f4ad9dd0a3
31 changed files with 9 additions and 4 deletions

View file

@ -85,7 +85,7 @@ class _ChatState extends State<_Chat> {
if (timeline.events.last.type != EventTypes.RoomCreate) {
setState(() => this._loadingHistory = true);
await timeline.requestHistory(historyCount: _loadHistoryCount);
setState(() => this._loadingHistory = false);
if (mounted) setState(() => this._loadingHistory = false);
}
}