fix: Remove old workaround

This commit is contained in:
Christian Pauly 2021-08-04 10:08:21 +02:00
parent 2297195ba7
commit fcc66d2820

View File

@ -264,7 +264,6 @@ class _ChatListViewBody extends StatelessWidget {
final rooms = List<Room>.from(Matrix.of(context).client.rooms) final rooms = List<Room>.from(Matrix.of(context).client.rooms)
.where(controller.roomCheck) .where(controller.roomCheck)
.toList(); .toList();
rooms.removeWhere((room) => room.lastEvent == null);
if (rooms.isEmpty) { if (rooms.isEmpty) {
return Column( return Column(
mainAxisAlignment: MainAxisAlignment.center, mainAxisAlignment: MainAxisAlignment.center,