Fix chat list

This commit is contained in:
Christian Pauly 2020-04-27 13:29:02 +00:00
parent 02d2e062db
commit c40a6bf834

View file

@ -384,7 +384,7 @@ class _ChatListState extends State<ChatList> {
final int totalCount = rooms.length + publicRoomsCount; final int totalCount = rooms.length + publicRoomsCount;
return ListView.separated( return ListView.separated(
separatorBuilder: (BuildContext context, int i) => separatorBuilder: (BuildContext context, int i) =>
i == totalCount - publicRoomsCount - 1 i == totalCount - publicRoomsCount
? Material( ? Material(
elevation: 2, elevation: 2,
child: ListTile( child: ListTile(