Merge branch 'ChristianPauly-master-patch-37585' into 'master'

Fix chat list

See merge request ChristianPauly/fluffychat-flutter!31
This commit is contained in:
Christian Pauly 2020-04-27 13:36:57 +00:00
commit 22c07dc0ff

View File

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